Celeritas
0.5.0-56+6b053cd
|
#include <cstdint>
#include <string>
#include "corecel/Config.hh"
#include "corecel/Macros.hh"
#include "corecel/io/Logger.hh"
#include "Environment.hh"
Classes | |
struct | celeritas::ScopedProfilingInput |
Input arguments for the nvtx implementation. More... | |
class | celeritas::ScopedProfiling |
RAII class for scoped profiling. More... | |
Functions | |
bool | celeritas::use_profiling () |
Whether profiling is enabled. More... | |
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.