ManaPlus
Public Member Functions | Private Attributes
Catch::Timer Class Reference

#include <catch.hpp>

Public Member Functions

 Timer ()
 
void start ()
 
unsigned int getElapsedMicroseconds () const
 
unsigned int getElapsedMilliseconds () const
 
double getElapsedSeconds () const
 

Private Attributes

uint64_t m_ticks
 

Detailed Description

Definition at line 2290 of file catch.hpp.

Constructor & Destructor Documentation

◆ Timer()

Catch::Timer::Timer ( )
inline

Definition at line 2292 of file catch.hpp.

2292 : m_ticks( 0 ) {}
uint64_t m_ticks
Definition: catch.hpp:2299

Member Function Documentation

◆ getElapsedMicroseconds()

unsigned int Catch::Timer::getElapsedMicroseconds ( ) const

◆ getElapsedMilliseconds()

unsigned int Catch::Timer::getElapsedMilliseconds ( ) const

◆ getElapsedSeconds()

double Catch::Timer::getElapsedSeconds ( ) const

◆ start()

void Catch::Timer::start ( )

Field Documentation

◆ m_ticks

uint64_t Catch::Timer::m_ticks
private

Definition at line 2299 of file catch.hpp.


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