|
Celeritas 0.7.0-dev.170+develop.df22d2a88
|
#include <cstddef>#include <cstdint>#include <type_traits>#include "corecel/Config.hh"#include "ScopedProfiling.hh"#include "detail/TraceCounterImpl.hh"
Functions | |
| template<class T > | |
| void | celeritas::trace_counter (char const *name, T value) |
| Simple performance tracing counter. | |
Simple performance tracing counter.
| T | Arithmetic counter type |
Records a named value at the current timestamp which can then be displayed on a timeline. This is implemented for Perfetto and CUDA NVTX.
See https://perfetto.dev/docs/instrumentation/track-events#counters