CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkHighPrecisionTimer Class Reference

A fast and high precision timer. More...

#include <Libs/Core/ctkHighPrecisionTimer.h>

Public Member Functions

 ctkHighPrecisionTimer ()
 
qint64 elapsedMicro ()
 
qint64 elapsedMilli ()
 
void start ()
 

Detailed Description

A fast and high precision timer.

This class provides a fast and high precision timer depending on platform specific API. It can be used as a QTime replacement for runtime measurements with a minimal performance overhead.

Definition at line 61 of file ctkHighPrecisionTimer.h.

Constructor & Destructor Documentation

◆ ctkHighPrecisionTimer()

ctkHighPrecisionTimer::ctkHighPrecisionTimer ( )
inline

Definition at line 92 of file ctkHighPrecisionTimer.h.

Member Function Documentation

◆ elapsedMicro()

qint64 ctkHighPrecisionTimer::elapsedMicro ( )
inline

Definition at line 107 of file ctkHighPrecisionTimer.h.

◆ elapsedMilli()

qint64 ctkHighPrecisionTimer::elapsedMilli ( )
inline

Definition at line 102 of file ctkHighPrecisionTimer.h.

◆ start()

void ctkHighPrecisionTimer::start ( )
inline

Definition at line 97 of file ctkHighPrecisionTimer.h.


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