 |
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_fs_Statistics_h
7 #define swcdb_fs_Statistics_h
15 namespace SWC {
namespace FS {
77 void stop(
bool err) noexcept {
98 void add(
bool err, uint64_t ns) noexcept;
102 void reset() noexcept;
125 void reset() noexcept;
137 #ifdef SWC_IMPL_SOURCE
142 #endif // swcdb_fs_Statistics_h
void add(bool err, uint64_t ns) noexcept
Statistics & operator=(Statistics &&)=delete
Core::Atomic< uint64_t > fds_count
Statistics & operator=(const Statistics &)=delete
constexpr Metric() noexcept
static const char *SWC_CONST_FUNC to_string(Command cmd) noexcept
Statistics(const Statistics &)=delete
SWC_CAN_INLINE Metric::Tracker tracker(Command cmd) noexcept
Metric & operator=(const Metric &)=delete
void stop(bool err) noexcept
SWC_CAN_INLINE uint64_t elapsed() const noexcept
Metric(const Metric &)=delete
void gather(Metric &m) noexcept
Metric metrics[Command::MAX]
The SWC-DB C++ namespace 'SWC'.
SWC_CAN_INLINE Tracker tracker() noexcept
SWC_CAN_INLINE Tracker(Metric *a_m) noexcept
constexpr SWC_CAN_INLINE Tracker() noexcept
Measure< std::chrono::steady_clock, std::chrono::nanoseconds > Measure_ns
Metric & operator=(Metric &&)=delete
Statistics(Statistics &&)=delete