AuxPort 0.2
Modules for Audio Software Development
|
Simple Timer used for Benchmarking. More...
#include <AuxTime.h>
Public Types | |
enum | Type { nano , milli , micro , seconds } |
Specifies the unit to display time in. More... | |
Public Member Functions | |
Timer (const Timer &timer)=default | |
void | start () |
Use this function to Start the timer. | |
void | stop () |
Use this function to Stop the timer. | |
void | show (const Type &type=Type::micro) |
Logs the Time Ellapsed onto the console. | |
bool | stillRunning () |
Determines whether a timer is still Running. | |
long long | getEllapsedTime (const Type &type=Type::micro) |
Returns the ellapsed time. | |
enum AuxPort::Timer::Type |
AuxPort::Timer::Timer | ( | ) |
Definition at line 43 of file AuxTime.cpp.
long long AuxPort::Timer::getEllapsedTime | ( | const Type & | type = Type::micro | ) |
Returns the ellapsed time.
Definition at line 84 of file AuxTime.cpp.
void AuxPort::Timer::show | ( | const Type & | type = Type::micro | ) |
Logs the Time Ellapsed onto the console.
Definition at line 63 of file AuxTime.cpp.
void AuxPort::Timer::start | ( | ) |
Use this function to Start the timer.
Definition at line 50 of file AuxTime.cpp.
bool AuxPort::Timer::stillRunning | ( | ) |
Determines whether a timer is still Running.
Definition at line 79 of file AuxTime.cpp.
void AuxPort::Timer::stop | ( | ) |
Use this function to Stop the timer.
Definition at line 56 of file AuxTime.cpp.