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 process voluntarily giving up the processor before its time slice was completed (usually to await availability of a resource). More...
#include "timemory/components/rusage/components.hpp"
Public Types | |
using | value_type = int64_t |
using | base_type = base< voluntary_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 process voluntarily giving up the processor before its time slice was completed (usually to await availability of a resource).
Definition at line 329 of file components.hpp.
Definition at line 332 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
using tim::component::voluntary_context_switch::value_type = int64_t |
Definition at line 331 of file components.hpp.
|
inlinestatic |
Definition at line 339 of file components.hpp.
|
inline |
Definition at line 350 of file components.hpp.
References get_display().
|
inline |
Definition at line 345 of file components.hpp.
References tim::component::base< voluntary_context_switch >::load().
Referenced by get().
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 338 of file components.hpp.
|
inlinestatic |
Definition at line 344 of file components.hpp.
|
inlinestatic |
Definition at line 358 of file components.hpp.
|
inline |
Definition at line 351 of file components.hpp.
References record().
|
inline |
|
inline |
Definition at line 352 of file components.hpp.
References record().
|
inline |
Definition at line 365 of file components.hpp.
References record().
|
static |
Definition at line 336 of file components.hpp.
|
static |
Definition at line 334 of file components.hpp.
|
static |
Definition at line 335 of file components.hpp.