blob: 6d23c6c6fe03aac7fc7381750f73074595bf0a19 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Yahoo. 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
|