#include <swcdb/db/client/Query/Profiling.h>
Classes | |
struct | Start |
Public Member Functions | |
Component () noexcept | |
Component & | operator+= (const Component &other) noexcept |
SWC_CAN_INLINE Start | start () noexcept |
SWC_CAN_INLINE void | add (uint64_t ts, bool err) noexcept |
SWC_CAN_INLINE void | add_cached (uint64_t ts, bool err) noexcept |
void | reset () noexcept |
void | print (std::ostream &out) const |
void | display (std::ostream &out) const |
Public Attributes | |
Core::Atomic< uint64_t > | time |
Core::Atomic< uint64_t > | count |
Core::Atomic< uint64_t > | cache |
Core::Atomic< uint64_t > | error |
Definition at line 39 of file Profiling.h.
|
inlinenoexcept |
Definition at line 46 of file Profiling.h.
|
inlinenoexcept |
Definition at line 82 of file Profiling.h.
References count, error, SWC::Core::Atomic< T, OrderT >::fetch_add(), SWC::Time::now_ns(), and time.
Referenced by SWC::client::Query::Profiling::Component::Start::add(), and add_cached().
|
inlinenoexcept |
Definition at line 90 of file Profiling.h.
References add(), cache, and SWC::Core::Atomic< T, OrderT >::fetch_add().
Referenced by SWC::client::Query::Profiling::Component::Start::add_cached().
|
inline |
Definition at line 110 of file Profiling.h.
References cache, count, error, SWC::Core::AtomicBase< T, OrderT >::load(), and time.
Referenced by SWC::client::Query::Profiling::display().
|
inlinenoexcept |
Definition at line 48 of file Profiling.h.
References cache, count, error, SWC::Core::Atomic< T, OrderT >::fetch_add(), and time.
|
inline |
Definition at line 102 of file Profiling.h.
References cache, count, error, SWC::Core::AtomicBase< T, OrderT >::load(), and time.
Referenced by SWC::client::Query::Profiling::print().
|
inlinenoexcept |
Definition at line 95 of file Profiling.h.
References cache, count, error, SWC::Core::AtomicBase< T, OrderT >::store(), and time.
Referenced by SWC::client::Query::Profiling::reset().
|
inlinenoexcept |
Definition at line 77 of file Profiling.h.
Core::Atomic<uint64_t> SWC::client::Query::Profiling::Component::cache |
Definition at line 43 of file Profiling.h.
Referenced by add_cached(), display(), operator+=(), print(), and reset().
Core::Atomic<uint64_t> SWC::client::Query::Profiling::Component::count |
Definition at line 42 of file Profiling.h.
Referenced by add(), display(), operator+=(), print(), and reset().
Core::Atomic<uint64_t> SWC::client::Query::Profiling::Component::error |
Definition at line 44 of file Profiling.h.
Referenced by add(), display(), operator+=(), print(), and reset().
Core::Atomic<uint64_t> SWC::client::Query::Profiling::Component::time |
Definition at line 41 of file Profiling.h.
Referenced by add(), display(), SWC::client::Query::Profiling::display(), operator+=(), print(), SWC::client::Query::Profiling::print(), and reset().