Celeritas
0.5.0-56+6b053cd
|
Functions | |
template<class T > | |
void | celeritas::trace_counter (char const *name, T value) |
Simple performance tracing counter. More... | |
|
inline |
Simple performance tracing counter.
T | Arithmetic counter type |
Records a named value at the current timestamp which can then be displayed on a timeline. Only supported on host, this compiles but is a noop on device.
See https://perfetto.dev/docs/instrumentation/track-events#counters