NvBlastTimers
Defined in lowlevel/NvBlastTypes.h
Variables
fracture: Time spent applying damage.
island: Time spent discovering islands.
material: Time spent in material function.
partition: Time spent partitioning the graph.
visibility: Time spent updating visibility.
-
struct NvBlastTimers
Time spent (in ticks) in various parts of Blast.
These values may be filled in during the execution of various API functions. To convert to seconds, use NvBlastTicksToSeconds(ticks).
In profile build configurations, if a pointer to an instance of this struct is passed into Blast functions with an NvBlastTimers argument, then Blast will add to appropriate fields the time measured in corresponding sections of code. The user must clear the timer fields with NvBlastTimersReset to initialize or reset.