5namespace Stroika::Samples::HTMLUI {
12 inline OperationalStatisticsMgr::ProcessAPICmd::ProcessAPICmd ()
22 inline OperationalStatisticsMgr::ProcessDBCmd::ProcessDBCmd (DBCommandType cmdType)
26 case DBCommandType::eRead:
27 fKind_ = Rec_::Kind::eDBRead;
29 case DBCommandType::eWrite:
30 fKind_ = Rec_::Kind::eDBWrite;
42 inline void OperationalStatisticsMgr::Add_ (
const Rec_& r)
44 lock_guard lk{fMutex_};
46 if (fNextHistory_ == std::size (fRollingHistory_)) {
49 Assert (fNextHistory_ < std::size (fRollingHistory_));
50 fRollingHistory_[fNextHistory_] = r;
#define RequireNotReached()
TimePointSeconds GetTickCount() noexcept
get the current (monotonically increasing) time - from RealtimeClock