Celeritas
0.5.0-86+4a8eea4
|
The perfetto implementation of ScopedProfiling
.
More...
#include "ScopedProfiling.hh"
#include "corecel/Config.hh"
#include "corecel/Macros.hh"
#include "corecel/io/Logger.hh"
#include "Environment.hh"
Functions | |
bool | celeritas::use_profiling () |
Whether profiling is enabled. More... | |
The perfetto implementation of ScopedProfiling
.
bool celeritas::use_profiling | ( | ) |
Whether profiling is enabled.
This is true only if the CELER_ENABLE_PROFILING
environment variable is set to a non-empty value. Profiling is never enabled if CUDA/HIP/Perfetto isn't available.