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/compat/macros.h"
#include "timemory/macros/attributes.hpp"
#include "timemory/macros/compiler.hpp"
#include "timemory/macros/language.hpp"
#include "timemory/macros/os.hpp"
#include "timemory/utility/macros.hpp"
#include "timemory/components/macros.hpp"
#include "timemory/variadic/macros.hpp"
Go to the source code of this file.
#define LIKWID_MARKER_CLOSE |
Definition at line 706 of file macros.hpp.
#define LIKWID_MARKER_GET | ( | ... | ) |
Definition at line 712 of file macros.hpp.
#define LIKWID_MARKER_INIT |
Definition at line 682 of file macros.hpp.
#define LIKWID_MARKER_REGISTER | ( | ... | ) |
Definition at line 700 of file macros.hpp.
#define LIKWID_MARKER_RESET | ( | ... | ) |
Definition at line 718 of file macros.hpp.
#define LIKWID_MARKER_SWITCH |
Definition at line 694 of file macros.hpp.
#define LIKWID_MARKER_THREADINIT |
Definition at line 688 of file macros.hpp.
#define LIKWID_NVMARKER_CLOSE |
Definition at line 748 of file macros.hpp.
#define LIKWID_NVMARKER_GET | ( | ... | ) |
Definition at line 754 of file macros.hpp.
#define LIKWID_NVMARKER_INIT |
Definition at line 724 of file macros.hpp.
#define LIKWID_NVMARKER_REGISTER | ( | ... | ) |
Definition at line 742 of file macros.hpp.
#define LIKWID_NVMARKER_RESET | ( | ... | ) |
Definition at line 760 of file macros.hpp.
#define LIKWID_NVMARKER_SWITCH |
Definition at line 736 of file macros.hpp.
#define LIKWID_NVMARKER_THREADINIT |
Definition at line 730 of file macros.hpp.
#define TIMEMORY_C_GOTCHA | ( | ... | ) |
Definition at line 323 of file macros.hpp.
#define TIMEMORY_C_GOTCHA_TOOL | ( | ... | ) |
Definition at line 326 of file macros.hpp.
#define TIMEMORY_CUDA_DRIVER_API_CALL | ( | ... | ) |
Definition at line 394 of file macros.hpp.
#define TIMEMORY_CUDA_RUNTIME_API_CALL | ( | ... | ) |
Definition at line 499 of file macros.hpp.
#define TIMEMORY_CUDA_RUNTIME_API_CALL_THROW | ( | ... | ) |
Definition at line 505 of file macros.hpp.
#define TIMEMORY_CUDA_RUNTIME_CHECK_ERROR | ( | ... | ) |
Definition at line 511 of file macros.hpp.
#define TIMEMORY_CUPTI_ALIGN_BUFFER | ( | buffer, | |
align | |||
) |
Definition at line 418 of file macros.hpp.
#define TIMEMORY_CUPTI_ALIGN_SIZE (8) |
Definition at line 412 of file macros.hpp.
#define TIMEMORY_CUPTI_BUFFER_SIZE (32 * 1024) |
Definition at line 406 of file macros.hpp.
#define TIMEMORY_CUPTI_CALL | ( | ... | ) |
Definition at line 398 of file macros.hpp.
#define TIMEMORY_CUPTI_PROFILER_NAME_LONG 512 |
Definition at line 433 of file macros.hpp.
#define TIMEMORY_CUPTI_PROFILER_NAME_SHORT 128 |
Definition at line 427 of file macros.hpp.
#define TIMEMORY_CXX_GOTCHA | ( | ... | ) |
Definition at line 329 of file macros.hpp.
#define TIMEMORY_CXX_GOTCHA_MEMFUN | ( | ... | ) |
Definition at line 335 of file macros.hpp.
#define TIMEMORY_CXX_GOTCHA_TOOL | ( | ... | ) |
Definition at line 332 of file macros.hpp.
#define TIMEMORY_CXX_MEMFUN_GOTCHA | ( | ... | ) | TIMEMORY_CXX_GOTCHA_MEMFUN(__VA_ARGS__) |
Definition at line 346 of file macros.hpp.
#define TIMEMORY_DEFINE_CONCRETE_TRAIT | ( | TRAIT, | |
COMPONENT, | |||
VALUE | |||
) |
Definition at line 110 of file macros.hpp.
#define TIMEMORY_DEFINE_TEMPLATE_TRAIT | ( | TRAIT, | |
COMPONENT, | |||
VALUE, | |||
TYPE | |||
) |
Definition at line 125 of file macros.hpp.
#define TIMEMORY_DEFINE_VARIADIC_TRAIT | ( | TRAIT, | |
COMPONENT, | |||
VALUE, | |||
TYPE | |||
) |
Definition at line 140 of file macros.hpp.
#define TIMEMORY_DERIVED_GOTCHA | ( | ... | ) |
Definition at line 338 of file macros.hpp.
#define TIMEMORY_ESC | ( | ... | ) | __VA_ARGS__ |
Definition at line 47 of file macros.hpp.
#define TIMEMORY_FORWARD_DECLARE_COMPONENT | ( | NAME | ) |
use this macro for forward declarations. Using TIMEMORY_DECLARE_COMPONENT on a pre-existing type will fail because of is_component specialization
Definition at line 93 of file macros.hpp.
#define TIMEMORY_GPU_RUNTIME_API_CALL | ( | ... | ) |
Definition at line 636 of file macros.hpp.
#define TIMEMORY_GPU_RUNTIME_API_CALL_THROW | ( | ... | ) |
Definition at line 650 of file macros.hpp.
#define TIMEMORY_GPU_RUNTIME_CHECK_ERROR | ( | ... | ) |
Definition at line 664 of file macros.hpp.
#define TIMEMORY_HIP_RUNTIME_API_CALL | ( | ... | ) |
Definition at line 603 of file macros.hpp.
#define TIMEMORY_HIP_RUNTIME_API_CALL_THROW | ( | ... | ) |
Definition at line 609 of file macros.hpp.
#define TIMEMORY_HIP_RUNTIME_CHECK_ERROR | ( | ... | ) |
Definition at line 615 of file macros.hpp.
#define TIMEMORY_NVML_RUNTIME_CHECK_ERROR | ( | ... | ) |
Definition at line 536 of file macros.hpp.
#define TIMEMORY_OMPT_API_TAG TIMEMORY_API |
Definition at line 774 of file macros.hpp.
#define TIMEMORY_OMPT_CBDECL | ( | ... | ) |
Definition at line 782 of file macros.hpp.
#define TIMEMORY_STATIC_ACCESSOR | ( | RETURN_TYPE, | |
FUNC_NAME, | |||
... | |||
) |
Simple way to define a static variable which avoids the static initialization fiasco.
Definition at line 65 of file macros.hpp.
#define TIMEMORY_STATIC_THREAD_LOCAL_ACCESSOR | ( | RETURN_TYPE, | |
FUNC_NAME, | |||
... | |||
) |
Simple way to define a static thread-local variable which avoids the static initialization fiasco.
Definition at line 76 of file macros.hpp.
#define TIMEMORY_STATISTICS_TYPE | ( | COMPONENT, | |
TYPE | |||
) | TIMEMORY_TRAIT_TYPE(statistics, TIMEMORY_ESC(COMPONENT), TIMEMORY_ESC(TYPE)) |
Definition at line 207 of file macros.hpp.
#define TIMEMORY_STRINGIZE | ( | X | ) | TIMEMORY_STRINGIZE2(X) |
Definition at line 53 of file macros.hpp.
#define TIMEMORY_STRINGIZE2 | ( | X | ) | # X |
Definition at line 58 of file macros.hpp.
#define TIMEMORY_TEMPLATE_STATISTICS_TYPE | ( | COMPONENT, | |
TYPE, | |||
TEMPLATE_TYPE | |||
) |
Definition at line 214 of file macros.hpp.
#define TIMEMORY_TEMPLATE_TRAIT_TYPE | ( | TRAIT, | |
COMPONENT, | |||
TEMPLATE_PARAM, | |||
TEMPLATE_ARG, | |||
... | |||
) |
Definition at line 176 of file macros.hpp.
#define TIMEMORY_TRAIT_TYPE | ( | TRAIT, | |
COMPONENT, | |||
... | |||
) |
Definition at line 159 of file macros.hpp.
#define TIMEMORY_VARIADIC_STATISTICS_TYPE | ( | COMPONENT, | |
TYPE, | |||
TEMPLATE_TYPE | |||
) |
Definition at line 223 of file macros.hpp.
#define TIMEMORY_VARIADIC_TRAIT_TYPE | ( | TRAIT, | |
COMPONENT, | |||
TEMPLATE_PARAM, | |||
TEMPLATE_ARG, | |||
... | |||
) |
Definition at line 194 of file macros.hpp.