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.
components.hpp
Go to the documentation of this file.
1// MIT License
2//
3// Copyright (c) 2020, The Regents of the University of California,
4// through Lawrence Berkeley National Laboratory (subject to receipt of any
5// required approvals from the U.S. Dept. of Energy). All rights reserved.
6//
7// Permission is hereby granted, free of charge, to any person obtaining a copy
8// of this software and associated documentation files (the "Software"), to deal
9// in the Software without restriction, including without limitation the rights
10// to use, copy, modify, merge, publish, distribute, sublicense, and
11// copies of the Software, and to permit persons to whom the Software is
12// furnished to do so, subject to the following conditions:
13//
14// The above copyright notice and this permission notice shall be included in all
15// copies or substantial portions of the Software.
16//
17// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23// SOFTWARE.
24
25/** \file timemory/components.hpp
26 * \headerfile timemory/components.hpp "timemory/components.hpp"
27 * These are core tools provided by timemory. These tools can be used individually
28 * or bundled together in a component_tuple (C++) or component_list (C, Python)
29 *
30 */
31
32#pragma once
33
34// forward declare any types
47
48// allinea components
49#if defined(TIMEMORY_USE_ALLINEA_MAP)
51#endif
52//
53//--------------------------------------------------------------------------------------//
54//
55// caliper components
56#if defined(TIMEMORY_USE_CALIPER)
58#endif
59//
60//--------------------------------------------------------------------------------------//
61//
62// craypat
63#if defined(TIMEMORY_USE_CRAYPAT)
65#endif
66//
67//--------------------------------------------------------------------------------------//
68//
69// cuda
70#if defined(TIMEMORY_USE_CUDA)
72#endif
73//
74//--------------------------------------------------------------------------------------//
75//
76// GPU hardware counter components
77#if defined(TIMEMORY_USE_CUPTI)
79#endif
80//
81//--------------------------------------------------------------------------------------//
82//
83// gotcha components
84#if defined(TIMEMORY_USE_GOTCHA)
87#endif
88//
89//--------------------------------------------------------------------------------------//
90//
91// gperftools components
92#if defined(TIMEMORY_USE_GPERFTOOLS_TCMALLOC) || \
93 defined(TIMEMORY_USE_GPERFTOOLS_PROFILER) || defined(TIMEMORY_USE_GPERFTOOLS)
95#endif
96//
97//--------------------------------------------------------------------------------------//
98//
99// hip
100#if defined(TIMEMORY_USE_HIP)
102#endif
103//
104//--------------------------------------------------------------------------------------//
105//
106// likwid
107#if defined(TIMEMORY_USE_LIKWID)
109#endif
110//
111//--------------------------------------------------------------------------------------//
112//
113// OpenMP components
114#if defined(TIMEMORY_USE_OMPT)
116#endif
117//
118//--------------------------------------------------------------------------------------//
119//
120// CPU/GPU hardware counter components
121#if defined(TIMEMORY_USE_PAPI)
123#endif
124//
125//--------------------------------------------------------------------------------------//
126//
127// Roofline components
128#if defined(TIMEMORY_USE_CUPTI) || defined(TIMEMORY_USE_PAPI)
130#endif
131//
132//--------------------------------------------------------------------------------------//
133//
134// TAU component
135#if defined(TIMEMORY_USE_TAU)
137#endif
138//
139//--------------------------------------------------------------------------------------//
140//
141// VTune components
142#if defined(TIMEMORY_USE_VTUNE)
144#endif
145//
146//--------------------------------------------------------------------------------------//
147//
148// perfetto components
149#if defined(TIMEMORY_USE_PERFETTO)
151#endif
152//
153//--------------------------------------------------------------------------------------//
154//
156//
157//--------------------------------------------------------------------------------------//
158//
159#include "timemory/backends.hpp"
Implementation of the allinea component(s)
Implementation of the caliper component(s)
Implementation of the craypat component(s)
Implementation of the cuda component(s)
Implementation of the data_tracker component(s)
Implementation of the gotcha component(s)
Implementation of the gperftools component(s)
Implementation of the hip component(s)
Implementation of the io component(s)
Implementation of the likwid component(s)
Implementation of the ompt component(s)
Implementation of the roofline component(s)
Implementation of the tau_marker component(s)
Implementation of the trip_count component(s)
Implementation of the user_bundle component(s)