Blender V5.0
fast_timer Class Reference

#include <time.h>

Public Member Functions

 fast_timer ()
bool lap (uint64_t &delta)

Protected Attributes

uint32_t last_cpu
uint64_t last_value

Detailed Description

Definition at line 62 of file time.h.

Constructor & Destructor Documentation

◆ fast_timer()

fast_timer::fast_timer ( )
inline

Definition at line 64 of file time.h.

References last_cpu, last_value, and time_fast_tick().

Member Function Documentation

◆ lap()

bool fast_timer::lap ( uint64_t & delta)
inline

Definition at line 70 of file time.h.

References last_cpu, last_value, and time_fast_tick().

Referenced by PathTraceWorkCPU::render_samples_full_pipeline().

Member Data Documentation

◆ last_cpu

uint32_t fast_timer::last_cpu
protected

Definition at line 85 of file time.h.

Referenced by fast_timer(), and lap().

◆ last_value

uint64_t fast_timer::last_value
protected

Definition at line 86 of file time.h.

Referenced by fast_timer(), and lap().


The documentation for this class was generated from the following file: