#include <swcdb/db/client/Query/Profiling.h>
Classes | |
struct | Component |
Public Member Functions | |
Profiling () noexcept | |
SWC_CAN_INLINE void | finished () noexcept |
SWC_CAN_INLINE Component::Start | mngr_locate () noexcept |
SWC_CAN_INLINE Component::Start | mngr_res () noexcept |
SWC_CAN_INLINE Component::Start | rgr_locate (DB::Types::Range type) noexcept |
SWC_CAN_INLINE Component::Start | rgr_data () noexcept |
SWC_CAN_INLINE Component::Start | bkr () noexcept |
Profiling & | operator+= (const Profiling &other) noexcept |
void | reset () noexcept |
void | display (std::ostream &out) const |
void | print (std::ostream &out) const |
SWC_CAN_INLINE std::string | to_string () const |
Public Attributes | |
Core::Atomic< int64_t > | ts_start |
Core::Atomic< int64_t > | ts_finish |
Component | _mngr_locate |
Component | _mngr_res |
Component | _rgr_locate_master |
Component | _rgr_locate_meta |
Component | _rgr_data |
Component | _bkr |
Definition at line 24 of file Profiling.h.
|
inlinenoexcept |
Definition at line 28 of file Profiling.h.
|
inlinenoexcept |
Definition at line 151 of file Profiling.h.
References _bkr.
|
inline |
Definition at line 176 of file Profiling.h.
References _bkr, _mngr_locate, _mngr_res, _rgr_data, _rgr_locate_master, _rgr_locate_meta, SWC::client::Query::Profiling::Component::display(), SWC::Comm::Protocol::FsBroker::Handler::flush(), and SWC::client::Query::Profiling::Component::time.
Referenced by SWC::Utils::LoadGenerator::select_data().
|
inlinenoexcept |
Definition at line 121 of file Profiling.h.
References SWC::Time::now_ns(), SWC::Core::AtomicBase< T, OrderT >::store(), and ts_finish.
Referenced by SWC::Ranger::Query::Update::BaseMeta::is_last_rsp(), SWC::Comm::Protocol::Bkr::Handler::Selector::response(), SWC::client::Query::Select::Handlers::Common::response(), SWC::DB::RgrData::BaseSelector::response(), SWC::Ranger::Query::Select::CheckMeta::response(), SWC::Comm::Protocol::Bkr::Handler::Updater::response(), SWC::client::Query::Update::Handlers::Common::response(), SWC::client::Query::Update::Handlers::Metric::Reporting::response(), SWC::DB::RgrData::BaseUpdater::response(), and SWC::Utils::LoadGenerator::select_data().
|
inlinenoexcept |
Definition at line 126 of file Profiling.h.
References _mngr_locate.
|
inlinenoexcept |
Definition at line 131 of file Profiling.h.
References _mngr_res.
Definition at line 155 of file Profiling.h.
References _bkr, _mngr_locate, _mngr_res, _rgr_data, _rgr_locate_master, and _rgr_locate_meta.
|
inline |
Definition at line 198 of file Profiling.h.
References _bkr, _mngr_locate, _mngr_res, _rgr_data, _rgr_locate_master, _rgr_locate_meta, SWC::client::Query::Profiling::Component::print(), SWC::client::Query::Profiling::Component::time, ts_finish, and ts_start.
Referenced by SWC::Comm::Protocol::Bkr::Handler::Selector::response(), SWC::Comm::Protocol::Bkr::Handler::Updater::response(), and to_string().
|
inlinenoexcept |
Definition at line 165 of file Profiling.h.
References _bkr, _mngr_locate, _mngr_res, _rgr_data, _rgr_locate_master, _rgr_locate_meta, SWC::Time::now_ns(), SWC::client::Query::Profiling::Component::reset(), SWC::Core::AtomicBase< T, OrderT >::store(), ts_finish, and ts_start.
Referenced by SWC::client::Query::Update::Handlers::Metric::Reporting::report().
|
inlinenoexcept |
Definition at line 146 of file Profiling.h.
References _rgr_data.
|
inlinenoexcept |
Definition at line 136 of file Profiling.h.
References _rgr_locate_master, and _rgr_locate_meta.
|
inline |
Definition at line 224 of file Profiling.h.
References print().
Component SWC::client::Query::Profiling::_bkr |
Definition at line 118 of file Profiling.h.
Referenced by bkr(), display(), operator+=(), print(), and reset().
Component SWC::client::Query::Profiling::_mngr_locate |
Definition at line 113 of file Profiling.h.
Referenced by display(), mngr_locate(), operator+=(), print(), and reset().
Component SWC::client::Query::Profiling::_mngr_res |
Definition at line 114 of file Profiling.h.
Referenced by display(), mngr_res(), operator+=(), print(), and reset().
Component SWC::client::Query::Profiling::_rgr_data |
Definition at line 117 of file Profiling.h.
Referenced by display(), operator+=(), print(), reset(), and rgr_data().
Component SWC::client::Query::Profiling::_rgr_locate_master |
Definition at line 115 of file Profiling.h.
Referenced by display(), operator+=(), print(), reset(), and rgr_locate().
Component SWC::client::Query::Profiling::_rgr_locate_meta |
Definition at line 116 of file Profiling.h.
Referenced by display(), operator+=(), print(), reset(), and rgr_locate().
Core::Atomic<int64_t> SWC::client::Query::Profiling::ts_finish |
Definition at line 26 of file Profiling.h.
Referenced by finished(), print(), and reset().
Core::Atomic<int64_t> SWC::client::Query::Profiling::ts_start |
Definition at line 25 of file Profiling.h.