Loading...
Searching...
No Matches
ArchIntervalTimer Struct Reference

A simple timer class for measuring an interval of time using the ArchTickTimer facilities. More...

#include <timing.h>

Public Member Functions

 ArchIntervalTimer (bool start=true)
 
void Start ()
 
bool IsStarted () const
 
uint64_t GetStartTicks () const
 
uint64_t GetCurrentTicks ()
 
uint64_t GetElapsedTicks ()
 

Detailed Description

A simple timer class for measuring an interval of time using the ArchTickTimer facilities.

Definition at line 150 of file timing.h.

Constructor & Destructor Documentation

◆ ArchIntervalTimer()

ArchIntervalTimer ( bool  start = true)
inlineexplicit

Definition at line 152 of file timing.h.

Member Function Documentation

◆ GetCurrentTicks()

uint64_t GetCurrentTicks ( )
inline

Definition at line 172 of file timing.h.

◆ GetElapsedTicks()

uint64_t GetElapsedTicks ( )
inline

Definition at line 176 of file timing.h.

◆ GetStartTicks()

uint64_t GetStartTicks ( ) const
inline

Definition at line 168 of file timing.h.

◆ IsStarted()

bool IsStarted ( ) const
inline

Definition at line 164 of file timing.h.

◆ Start()

void Start ( )
inline

Definition at line 159 of file timing.h.


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