#include "timemory/components/gotcha/memory_allocations.hpp"
Definition at line 53 of file memory_allocations.hpp.
◆ base_type
◆ component_type
◆ gotcha_component_type
◆ gotcha_type
◆ storage_type
◆ string_hash
◆ this_type
◆ value_type
◆ audit() [1/4]
void tim::component::malloc_gotcha::audit |
( |
audit::incoming |
, |
|
|
size_t |
nbytes |
|
) |
| |
|
inline |
◆ audit() [2/4]
void tim::component::malloc_gotcha::audit |
( |
audit::incoming |
, |
|
|
size_t |
nmemb, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ audit() [3/4]
◆ audit() [4/4]
◆ configure()
static void tim::component::malloc_gotcha::configure |
( |
| ) |
|
|
static |
◆ description()
static std::string tim::component::malloc_gotcha::description |
( |
| ) |
|
|
inlinestatic |
Definition at line 71 of file memory_allocations.hpp.
73#if defined(TIMEMORY_USE_CUDA)
74 return "GOTCHA wrapper for memory allocation functions: malloc, calloc, free, "
75 "cudaMalloc, cudaMallocHost, cudaMallocManaged, cudaHostAlloc, cudaFree, "
77#elif defined(TIMEMORY_USE_HIP)
78 return "GOTCHA wrapper for memory allocation functions: malloc, calloc, free, "
79 "hipMalloc, hipMallocHost, hipMallocManaged, hipHostAlloc, hipFree, "
82 return "GOTCHA wrapper for memory allocation functions: malloc, calloc, free";
◆ get()
double tim::component::malloc_gotcha::get |
( |
| ) |
const |
|
inline |
◆ get_display()
double tim::component::malloc_gotcha::get_display |
( |
| ) |
const |
|
inline |
◆ get_opaque()
template<typename... Args>
static opaque tim::component::empty_base::get_opaque |
( |
Args && |
... | ) |
|
|
inlinestaticinherited |
◆ global_finalize()
static void tim::component::malloc_gotcha::global_finalize |
( |
| ) |
|
|
inlinestatic |
Definition at line 101 of file memory_allocations.hpp.
103 for(
auto& itr : get_cleanup_list())
105 get_cleanup_list().clear();
◆ label()
static std::string tim::component::malloc_gotcha::label |
( |
| ) |
|
|
inlinestatic |
◆ operator+=()
◆ operator-=()
◆ set_prefix() [1/2]
void tim::component::malloc_gotcha::set_prefix |
( |
| ) |
|
◆ set_prefix() [2/2]
void tim::component::malloc_gotcha::set_prefix |
( |
const char * |
_prefix | ) |
|
|
inline |
◆ start()
void tim::component::malloc_gotcha::start |
( |
| ) |
|
|
inline |
◆ stop()
void tim::component::malloc_gotcha::stop |
( |
| ) |
|
|
inline |
◆ tear_down()
static void tim::component::malloc_gotcha::tear_down |
( |
| ) |
|
|
static |
◆ data_size
constexpr size_t tim::component::malloc_gotcha::data_size = 3 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: