blob: 277e7b4fdfd87d3967903bb2f1b08c9f707b21eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* \class storage::RealClock
* \ingroup frameworkimpl
*
* \brief Implements a class for calculating current time.
*
* Real implementation for gathering all clock information used in application.
*/
#pragma once
#include <vespa/storageframework/generic/clock/clock.h>
namespace storage::framework::defaultimplementation {
struct RealClock : public Clock {
vespalib::steady_time getMonotonicTime() const override;
vespalib::system_time getSystemTime() const override;
};
}
|