Main Page Class List Class Members

# sdk/globals/include/NvBlastProfiler.h File Reference

`#include "NvBlastPreprocessor.h"`

Go to the source code of this file.

## Classes
class | Nv::Blast::ProfilerCallback
struct | Nv::Blast::ProfilerDetail
## Namespaces
namespace | Nv
namespace | Nv::Blast
## Functions
void | NvBlastProfilerSetCallback (Nv::Blast::ProfilerCallback *pcb)
void | NvBlastProfilerSetDetail (Nv::Blast::ProfilerDetail::Level)

## Function Documentation

void NvBlastProfilerSetCallback | ( | Nv::Blast::ProfilerCallback * | pcb | ) |

Profiler features are only active in checked, debug and profile builds. Set a custom profiler callback. May be nullptr (the default).

void NvBlastProfilerSetDetail | ( | Nv::Blast::ProfilerDetail::Level |  | ) |

Sets the depth of reported profile zones. Higher levels (more nesting) of instrumentation can have a significant impact. Defaults to Nv::Blast::ProfilerDetail::Level::LOW.