Classes | Public Member Functions | Private Attributes | List of all members
scoped_timer Class Reference

#include <tiny-profiler.h>

Classes

struct  profiler
 

Public Member Functions

 scoped_timer (const char *key)
 
void tocout (long a)
 
 ~scoped_timer ()
 

Private Attributes

std::chrono::high_resolution_clock::time_point _started
 
const char * key
 

Detailed Description

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

Constructor & Destructor Documentation

scoped_timer::scoped_timer ( const char *  key)
inline

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

scoped_timer::~scoped_timer ( )
inline

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

Member Function Documentation

void scoped_timer::tocout ( long  a)
inline

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

Member Data Documentation

std::chrono::high_resolution_clock::time_point scoped_timer::_started
private

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

const char* scoped_timer::key
private

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


The documentation for this class 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