timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
the number of times a context switch resulted due to a higher priority process becoming runnable or because the current process exceeded its time slice More...
#include "timemory/components/rusage/components.hpp"
Public Types | |
using | value_type = int64_t |
using | base_type = base< priority_context_switch > |
using | storage_type = empty_storage |
Public Member Functions | |
value_type | get_display () const |
value_type | get () const |
void | start () |
void | stop () |
void | start (const cache_type &_cache) |
void | stop (const cache_type &_cache) |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static value_type | record () |
static value_type | record (const cache_type &_cache) |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
Static Public Attributes | |
static const short | precision = 0 |
static const short | width = 3 |
static const std::ios_base::fmtflags | format_flags = {} |
the number of times a context switch resulted due to a higher priority process becoming runnable or because the current process exceeded its time slice
Definition at line 381 of file components.hpp.
Definition at line 384 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
using tim::component::priority_context_switch::value_type = int64_t |
Definition at line 383 of file components.hpp.
|
inlinestatic |
Definition at line 391 of file components.hpp.
|
inline |
Definition at line 402 of file components.hpp.
References get_display().
|
inline |
Definition at line 397 of file components.hpp.
References tim::component::base< priority_context_switch >::load().
Referenced by get().
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 390 of file components.hpp.
|
inlinestatic |
Definition at line 396 of file components.hpp.
|
inlinestatic |
Definition at line 410 of file components.hpp.
|
inline |
Definition at line 403 of file components.hpp.
References record().
|
inline |
|
inline |
Definition at line 404 of file components.hpp.
References record().
|
inline |
Definition at line 417 of file components.hpp.
References record().
|
static |
Definition at line 388 of file components.hpp.
|
static |
Definition at line 386 of file components.hpp.
|
static |
Definition at line 387 of file components.hpp.