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/backends/threading.hpp"
#include "timemory/compat/library.h"
#include "timemory/library.h"
#include "timemory/manager.hpp"
#include "timemory/operations/types/storage_initializer.hpp"
#include "timemory/runtime/configure.hpp"
#include "timemory/timemory.hpp"
#include "timemory/trace.hpp"
#include "timemory/utility/bits/signals.hpp"
#include <array>
#include <functional>
#include <pthread.h>
Go to the source code of this file.
Macros | |
#define | TIMEMORY_LIBRARY_SOURCE 1 |
Typedefs | |
using | empty_tuple_t = tim::component_tuple<> |
using | pthread_gotcha_t = tim::component::gotcha< 2, empty_tuple_t, pthread_gotcha > |
using | pthread_bundle_t = tim::component_tuple< pthread_gotcha_t, tim::quirk::auto_start > |
Functions | |
TIMEMORY_WEAK_PREFIX bool | timemory_enable_pthread_gotcha_wrapper () TIMEMORY_WEAK_POSTFIX |
auto | setup_pthread_gotcha () |
#define TIMEMORY_LIBRARY_SOURCE 1 |
Definition at line 26 of file pthread.cpp.
using empty_tuple_t = tim::component_tuple<> |
Definition at line 163 of file pthread.cpp.
Definition at line 165 of file pthread.cpp.
using pthread_gotcha_t = tim::component::gotcha<2, empty_tuple_t, pthread_gotcha> |
Definition at line 164 of file pthread.cpp.
auto setup_pthread_gotcha | ( | ) |
Definition at line 170 of file pthread.cpp.
References tim::component::gotcha< Nt, BundleT, DiffT >::get_initializer(), TIMEMORY_C_GOTCHA, and timemory_enable_pthread_gotcha_wrapper().
bool timemory_enable_pthread_gotcha_wrapper | ( | ) |
Definition at line 55 of file pthread.cpp.
References tim::get_env().
Referenced by setup_pthread_gotcha().