SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Common::Query::Update::Metric::Reporting::System Struct Referencefinal

#include <swcdb/common/sys/MetricsReporting.h>

+ Inheritance diagram for SWC::Common::Query::Update::Metric::Reporting::System:
+ Collaboration diagram for SWC::Common::Query::Update::Metric::Reporting::System:

Public Member Functions

 System (Reporting *a_reporting)
 
 System (const System &)=delete
 
 System (System &&)=delete
 
Systemoperator= (const System &)=delete
 
Systemoperator= (System &&)=delete
 
void rss_used_reg (size_t bytes) noexcept override
 
void rss_free (size_t bytes) noexcept override
 
void rss_used (size_t bytes) noexcept override
 
void cpu_user (size_t perc_milli) noexcept override
 
void cpu_sys (size_t perc_milli) noexcept override
 
void cpu_threads (size_t threads) noexcept override
 
uint64_t get_cpu_ms_interval () const noexcept override
 
- Public Member Functions inherited from SWC::System::Notifier
virtual ~Notifier () noexcept
 

Public Attributes

Reportingreporting
 
Item_CPUcpu
 
Item_Memmem
 

Detailed Description

Definition at line 891 of file MetricsReporting.h.

Constructor & Destructor Documentation

◆ System() [1/3]

SWC::Common::Query::Update::Metric::Reporting::System::System ( Reporting a_reporting)
inline

Definition at line 896 of file MetricsReporting.h.

◆ System() [2/3]

SWC::Common::Query::Update::Metric::Reporting::System::System ( const System )
delete

◆ System() [3/3]

SWC::Common::Query::Update::Metric::Reporting::System::System ( System &&  )
delete

Member Function Documentation

◆ cpu_sys()

void SWC::Common::Query::Update::Metric::Reporting::System::cpu_sys ( size_t  perc_milli)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 923 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_CPU::percent_sys.

+ Here is the call graph for this function:

◆ cpu_threads()

void SWC::Common::Query::Update::Metric::Reporting::System::cpu_threads ( size_t  threads)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 927 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_CPU::nthreads.

+ Here is the call graph for this function:

◆ cpu_user()

void SWC::Common::Query::Update::Metric::Reporting::System::cpu_user ( size_t  perc_milli)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 919 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_CPU::percent_user.

+ Here is the call graph for this function:

◆ get_cpu_ms_interval()

uint64_t SWC::Common::Query::Update::Metric::Reporting::System::get_cpu_ms_interval ( ) const
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 931 of file MetricsReporting.h.

References SWC::client::Query::Update::Handlers::Metric::Reporting::cfg_intval, and SWC::Config::Property::Value_int32_g::get().

+ Here is the call graph for this function:

◆ operator=() [1/2]

System& SWC::Common::Query::Update::Metric::Reporting::System::operator= ( const System )
delete

◆ operator=() [2/2]

System& SWC::Common::Query::Update::Metric::Reporting::System::operator= ( System &&  )
delete

◆ rss_free()

void SWC::Common::Query::Update::Metric::Reporting::System::rss_free ( size_t  bytes)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 911 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_Mem::rss_free.

+ Here is the call graph for this function:

◆ rss_used()

void SWC::Common::Query::Update::Metric::Reporting::System::rss_used ( size_t  bytes)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 915 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_Mem::rss_used.

+ Here is the call graph for this function:

◆ rss_used_reg()

void SWC::Common::Query::Update::Metric::Reporting::System::rss_used_reg ( size_t  bytes)
inlineoverridevirtualnoexcept

Implements SWC::System::Notifier.

Definition at line 907 of file MetricsReporting.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::add(), and SWC::Common::Query::Update::Metric::Item_Mem::rss_used_reg.

+ Here is the call graph for this function:

Member Data Documentation

◆ cpu

Item_CPU* SWC::Common::Query::Update::Metric::Reporting::System::cpu

Definition at line 893 of file MetricsReporting.h.

◆ mem

Item_Mem* SWC::Common::Query::Update::Metric::Reporting::System::mem

Definition at line 894 of file MetricsReporting.h.

◆ reporting

Reporting* SWC::Common::Query::Update::Metric::Reporting::System::reporting

Definition at line 892 of file MetricsReporting.h.


The documentation for this struct was generated from the following file: