|
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/process.hpp"#include "timemory/compat/library.h"#include "timemory/components/ompt/types.hpp"#include "timemory/environment.hpp"#include "timemory/library.h"#include "timemory/settings.hpp"#include <cstdint>#include <limits>#include <numeric>#include <dlfcn.h>
Include dependency graph for weak.cpp:Go to the source code of this file.
Macros | |
| #define | TIMEMORY_LIBRARY_SOURCE 1 |
| #define | DLSYM_FUNCTION(VARNAME, HANDLE, FUNCNAME) |
| #define | OS_DYNAMIC_LIBRARY_EXT "so" |
| #define | TOOL_DLSYM_SPECIALIZAITON(INDEX, ID, ENV_VAR) |
| #define | TOOL_INDEX(NAME) NAME##_idx |
| #define | TOOL_DLSYM(NAME) get_tool_stubs<TOOL_INDEX(NAME)>() |
| #define | TOOL_PREFIX TIMEMORY_WEAK_PREFIX |
| #define | TOOL_SUFFIX TIMEMORY_WEAK_POSTFIX TIMEMORY_VISIBILITY("default") |
| #define | TOOL_STUBS(NAME) |
Enumerations | |
| enum | TOOL_STUB_IDS { mpip_idx = 0 , ompt_idx , ncclp_idx , mallocp_idx } |
| #define DLSYM_FUNCTION | ( | VARNAME, | |
| HANDLE, | |||
| FUNCNAME | |||
| ) |
| #define TOOL_DLSYM | ( | NAME | ) | get_tool_stubs<TOOL_INDEX(NAME)>() |
| #define TOOL_DLSYM_SPECIALIZAITON | ( | INDEX, | |
| ID, | |||
| ENV_VAR | |||
| ) |
| #define TOOL_PREFIX TIMEMORY_WEAK_PREFIX |
| #define TOOL_STUBS | ( | NAME | ) |
| #define TOOL_SUFFIX TIMEMORY_WEAK_POSTFIX TIMEMORY_VISIBILITY("default") |
| enum TOOL_STUB_IDS |
| tools_stubs_dlsym * get_tool_stubs | ( | ) |
| tools_stubs_dlsym * get_tool_stubs< mallocp_idx > | ( | ) |
| tools_stubs_dlsym * get_tool_stubs< mpip_idx > | ( | ) |
| tools_stubs_dlsym * get_tool_stubs< ncclp_idx > | ( | ) |
| tools_stubs_dlsym * get_tool_stubs< ompt_idx > | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_deregister_mallocp | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_deregister_mpip | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_deregister_ncclp | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_deregister_ompt | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_mallocp_library_ctor | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_mpip_library_ctor | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_ncclp_library_ctor | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_ompt_library_ctor | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_register_mallocp | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_register_mpip | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_register_ncclp | ( | ) |
| TIMEMORY_WEAK_PREFIX void timemory_register_ompt | ( | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_start_mallocp | ( | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_start_mpip | ( | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_start_ncclp | ( | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_start_ompt | ( | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_stop_mallocp | ( | uint64_t | v | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_stop_mpip | ( | uint64_t | v | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_stop_ncclp | ( | uint64_t | v | ) |
| TIMEMORY_WEAK_PREFIX uint64_t timemory_stop_ompt | ( | uint64_t | v | ) |