SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Time.h File Reference
#include "swcdb/core/Compat.h"
#include <chrono>
+ Include dependency graph for Time.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SWC::Time::Measure< ClockT, DurationT >
 

Namespaces

 SWC
 The SWC-DB C++ namespace 'SWC'.
 
 SWC::Time
 The SWC-DB Date and Time C++ namespace 'SWC::Time'.
 

Typedefs

typedef Measure< std::chrono::steady_clock, std::chrono::nanoseconds > SWC::Time::Measure_ns
 
typedef Measure< std::chrono::steady_clock, std::chrono::microseconds > SWC::Time::Measure_us
 
typedef Measure< std::chrono::steady_clock, std::chrono::milliseconds > SWC::Time::Measure_ms
 
typedef Measure< std::chrono::steady_clock, std::chrono::seconds > SWC::Time::Measure_sec
 

Functions

SWC_CAN_INLINE int64_t SWC::Time::now_ms () noexcept
 
SWC_CAN_INLINE int64_t SWC::Time::now_ns () noexcept
 
int64_t SWC::Time::parse_ns (int &err, const std::string &buf)
 
std::string SWC::Time::fmt_ns (int64_t ns)