blob: 6a32dc35d1f8680386f7bcd88f83ebfcbd0ab453 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "steadytimer.h"
#include <vespa/vespalib/util/time.h>
using namespace std::chrono;
namespace mbus {
uint64_t
SteadyTimer::getMilliTime() const
{
return vespalib::count_ms(steady_clock::now().time_since_epoch());
}
} // namespace mbus
|