stopwatch Namespace Reference

Classes

class  Stats
 
class  Stopwatch
 

Typedefs

using Clock = std::chrono::system_clock
 
using Duration = std::chrono::duration<float>
 
using TimePoint = std::chrono::time_point<Clock>
 

Functions

std::ostream & operator<< (std::ostream &os, const Stats &stats)
 
std::ostream & operator<< (std::ostream &os, const Stopwatch &stats)
 

Typedef Documentation

◆ Clock

using Clock = std::chrono::system_clock

Definition at line 10 of file Stopwatch.h.

◆ Duration

using Duration = std::chrono::duration<float>

Definition at line 11 of file Stopwatch.h.

◆ TimePoint

using TimePoint = std::chrono::time_point<Clock>

Definition at line 12 of file Stopwatch.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream & os,
const Stats & stats )

Definition at line 52 of file Stopwatch.cpp.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const Stopwatch & stats )

Definition at line 63 of file Stopwatch.cpp.