Kagome
Polkadot Runtime Engine in C++17
kagome::clock Namespace Reference

Classes

class  BasicWaitableTimer
 
class  Clock
 
class  ClockImpl
 
struct  Timer
 

Typedefs

using SteadyClock = Clock< std::chrono::steady_clock >
 
using SystemClock = Clock< std::chrono::system_clock >
 
using SteadyClockImpl = ClockImpl< std::chrono::steady_clock >
 
using SystemClockImpl = ClockImpl< std::chrono::system_clock >
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Typedef Documentation

using kagome::clock::SteadyClock = typedef Clock<std::chrono::steady_clock>

SteadyClock alias over Clock. Should be used when we need to measure interval between two moments in time

Definition at line 51 of file clock.hpp.

using kagome::clock::SteadyClockImpl = typedef ClockImpl<std::chrono::steady_clock>

Definition at line 21 of file clock_impl.hpp.

using kagome::clock::SystemClock = typedef Clock<std::chrono::system_clock>

SystemClock alias over Clock. Should be used when we need to watch current time

Definition at line 57 of file clock.hpp.

using kagome::clock::SystemClockImpl = typedef ClockImpl<std::chrono::system_clock>

Definition at line 22 of file clock_impl.hpp.