$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
PerfTimer Struct Reference

CPU high-precision timer. More...

#include <perf_timer.h>

Data Fields

struct timespec start
 
struct timespec end
 

Detailed Description

CPU high-precision timer.

Uses clock_gettime(CLOCK_MONOTONIC) for accurate CPU timing. Typical resolution: nanoseconds.

Field Documentation

◆ end

struct timespec PerfTimer::end

Recording end time.

◆ start

struct timespec PerfTimer::start

Recording start time.


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