clan::GPUTimer Class Reference

#include <gpu_timer.h>

Classes

struct  Result
 

Public Member Functions

 GPUTimer ()
 
void begin_frame (GraphicContext &gc)
 
void begin_time (GraphicContext &gc, const std::string &name)
 
void end_frame (GraphicContext &gc)
 
void end_time (GraphicContext &gc)
 
std::vector< Resultget_results (GraphicContext &gc)
 

Constructor & Destructor Documentation

◆ GPUTimer()

clan::GPUTimer::GPUTimer ( )

Member Function Documentation

◆ begin_frame()

void clan::GPUTimer::begin_frame ( GraphicContext gc)

◆ begin_time()

void clan::GPUTimer::begin_time ( GraphicContext gc,
const std::string &  name 
)

◆ end_frame()

void clan::GPUTimer::end_frame ( GraphicContext gc)

◆ end_time()

void clan::GPUTimer::end_time ( GraphicContext gc)

◆ get_results()

std::vector<Result> clan::GPUTimer::get_results ( GraphicContext gc)

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