Static Public Member Functions | Public Attributes | List of all members
scoped_timer::profiler Struct Reference

#include <tiny-profiler.h>

Static Public Member Functions

static profilerinstance ()
 

Public Attributes

std::unordered_map< const char *, int > counts
 
std::unordered_map< const char *, double > duration
 
std::unordered_map< const char *, std::chrono::high_resolution_clock::time_point > lasts
 
int scope = 0
 

Detailed Description

Definition at line 25 of file tiny-profiler.h.

Member Function Documentation

static profiler& scoped_timer::profiler::instance ( )
inlinestatic

Definition at line 33 of file tiny-profiler.h.

Member Data Documentation

std::unordered_map<const char*, int> scoped_timer::profiler::counts

Definition at line 28 of file tiny-profiler.h.

std::unordered_map<const char*, double> scoped_timer::profiler::duration

Definition at line 27 of file tiny-profiler.h.

std::unordered_map<const char*, std::chrono::high_resolution_clock::time_point> scoped_timer::profiler::lasts

Definition at line 30 of file tiny-profiler.h.

int scoped_timer::profiler::scope = 0

Definition at line 31 of file tiny-profiler.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32