timemory
3.2.1
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 PC Sampling gives the number of samples for each source and assembly line with various stall reasons. Using this information, you can pinpoint portions of your kernel that are introducing latencies and the reason for the latency. More...
#include "timemory/components/cupti/cupti_pcsampling.hpp"
Public Types | |
using | data_type = cupti::pcdata |
using | size_type = std::size_t |
using | tracker_type = policy::instance_tracker< cupti_pcsampling, false > |
using | config_type = std::tuple< null_type, null_type, null_type, null_type, null_type, std::vector< null_type >, null_type, null_type, null_type, size_t, size_t > |
using | value_type = cupti::pcsample |
using | this_type = cupti_pcsampling |
using | base_type = base< this_type, value_type > |
Public Member Functions | |
void | store (const value_type &_data) |
void | store (value_type &&_data) |
void | start () |
void | stop () |
void | set_started () |
void | set_stopped () |
std::string | get_display () const |
auto | get_laps () const |
std::vector< uint32_t > | get () const |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static void | global_init () |
static void | global_finalize () |
static data_type | record () |
static void | sample () |
static std::vector< std::string > | label_array () |
static void | cleanup () |
static config_type | configure () |
static void | initialize () |
static void | finalize () |
static auto & | get_configuration_data () |
Protected Attributes | |
const char * | m_prefix = nullptr |
The PC Sampling gives the number of samples for each source and assembly line with various stall reasons. Using this information, you can pinpoint portions of your kernel that are introducing latencies and the reason for the latency.
Definition at line 57 of file cupti_pcsampling.hpp.
Definition at line 82 of file cupti_pcsampling.hpp.
using tim::component::cupti_pcsampling::config_type = std::tuple<null_type, null_type, null_type, null_type, null_type, std::vector<null_type>, null_type, null_type, null_type, size_t, size_t> |
Definition at line 74 of file cupti_pcsampling.hpp.
using tim::component::cupti_pcsampling::data_type = cupti::pcdata |
Definition at line 62 of file cupti_pcsampling.hpp.
using tim::component::cupti_pcsampling::size_type = std::size_t |
Definition at line 63 of file cupti_pcsampling.hpp.
Definition at line 81 of file cupti_pcsampling.hpp.
using tim::component::cupti_pcsampling::tracker_type = policy::instance_tracker<cupti_pcsampling, false> |
Definition at line 64 of file cupti_pcsampling.hpp.
using tim::component::cupti_pcsampling::value_type = cupti::pcsample |
Definition at line 80 of file cupti_pcsampling.hpp.
|
inlinestatic |
Definition at line 106 of file cupti_pcsampling.hpp.
|
static |
|
inlinestatic |
Definition at line 85 of file cupti_pcsampling.hpp.
|
static |
Referenced by global_finalize().
std::vector<uint32_t> tim::component::cupti_pcsampling::get | ( | ) | const |
|
inlinestatic |
Definition at line 121 of file cupti_pcsampling.hpp.
std::string tim::component::cupti_pcsampling::get_display | ( | ) | const |
|
inline |
Definition at line 101 of file cupti_pcsampling.hpp.
|
inlinestatic |
|
inlinestatic |
Definition at line 86 of file cupti_pcsampling.hpp.
References initialize().
|
static |
Referenced by global_init().
|
inlinestatic |
Definition at line 84 of file cupti_pcsampling.hpp.
|
static |
|
static |
|
static |
void tim::component::cupti_pcsampling::set_started | ( | ) |
void tim::component::cupti_pcsampling::set_stopped | ( | ) |
void tim::component::cupti_pcsampling::start | ( | ) |
void tim::component::cupti_pcsampling::stop | ( | ) |
void tim::component::cupti_pcsampling::store | ( | const value_type & | _data | ) |
void tim::component::cupti_pcsampling::store | ( | value_type && | _data | ) |
|
protected |
Definition at line 115 of file cupti_pcsampling.hpp.