NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Private Attributes | List of all members
NAIA::Stopwatch Class Reference

#include <Benchmark.h>

Public Member Functions

 Stopwatch (std::string name, Benchmark *bench)
 
 ~Stopwatch ()
 

Private Attributes

std::string m_name
 
Benchmarkm_bench
 
t_clock::time_point m_start
 

Detailed Description

Definition at line 53 of file Benchmark.h.

Constructor & Destructor Documentation

NAIA::Stopwatch::Stopwatch ( std::string  name,
Benchmark bench 
)
inline

Definition at line 55 of file Benchmark.h.

NAIA::Stopwatch::~Stopwatch ( )
inline

Definition at line 56 of file Benchmark.h.

References m_bench, m_name, m_start, and NAIA::Benchmark::UpdateTimer().

Member Data Documentation

Benchmark* NAIA::Stopwatch::m_bench
private

Definition at line 61 of file Benchmark.h.

Referenced by ~Stopwatch().

std::string NAIA::Stopwatch::m_name
private

Definition at line 56 of file Benchmark.h.

Referenced by ~Stopwatch().

t_clock::time_point NAIA::Stopwatch::m_start
private

Definition at line 63 of file Benchmark.h.

Referenced by ~Stopwatch().


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