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.
|
#include "timemory/mpl/policy.hpp"
Public Types | |
enum | { global_count = 0 , thread_count } |
using | type = Tp |
using | int_type = int64_t |
using | pair_type = std::pair< int_type, int_type > |
Static Public Member Functions | |
static int_type | get_started_count () |
static int_type | get_thread_started_count () |
Static Public Attributes | |
static constexpr bool | thread_support = true |
Protected Member Functions | |
auto | start () |
auto | stop () |
template<size_t Idx> | |
enable_if_t< Idx==global_count, int_type > | start () |
template<size_t Idx> | |
enable_if_t< Idx==global_count, int_type > | stop () |
template<size_t Idx> | |
enable_if_t< Idx==thread_count, int_type > | start () |
template<size_t Idx> | |
enable_if_t< Idx==thread_count, int_type > | stop () |
auto | get_global_count () |
auto | get_thread_count () |
auto | global_tracker_start () |
auto | global_tracker_stop () |
auto | thread_tracker_start () |
auto | thread_tracker_stop () |
Static Protected Member Functions | |
static std::atomic< int_type > & | get_started () |
static int_type & | get_thread_started () |
Protected Attributes | |
int_type | m_tot = get_started_count() |
int_type | m_thr = get_thread_started_count() |
Definition at line 270 of file policy.hpp.
using tim::policy::instance_tracker< Tp, true >::int_type = int64_t |
Definition at line 274 of file policy.hpp.
using tim::policy::instance_tracker< Tp, true >::pair_type = std::pair<int_type, int_type> |
Definition at line 275 of file policy.hpp.
using tim::policy::instance_tracker< Tp, true >::type = Tp |
Definition at line 273 of file policy.hpp.
anonymous enum |
|
inlineprotected |
Definition at line 364 of file policy.hpp.
|
inlinestaticprotected |
Definition at line 298 of file policy.hpp.
|
inlinestatic |
Definition at line 289 of file policy.hpp.
|
inlineprotected |
Definition at line 365 of file policy.hpp.
|
inlinestaticprotected |
Definition at line 306 of file policy.hpp.
|
inlinestatic |
Definition at line 293 of file policy.hpp.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 314 of file policy.hpp.
|
inlineprotected |
Definition at line 331 of file policy.hpp.
|
inlineprotected |
Definition at line 349 of file policy.hpp.
|
inlineprotected |
Definition at line 321 of file policy.hpp.
|
inlineprotected |
Definition at line 339 of file policy.hpp.
|
inlineprotected |
Definition at line 357 of file policy.hpp.
|
inlineprotected |
Definition at line 369 of file policy.hpp.
References tim::invoke::start().
|
inlineprotected |
Definition at line 370 of file policy.hpp.
References tim::invoke::stop().
|
protected |
Definition at line 374 of file policy.hpp.
|
protected |
Definition at line 373 of file policy.hpp.
|
staticconstexpr |
Definition at line 276 of file policy.hpp.