qxLib
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
qx::benchmark Class Reference

Benchmark class. More...

#include <benchmark.h>

Public Member Functions

void start ()
 Start benchmark.
 
double end ()
 End benchmark. More...
 
double last () const
 Get last benchmark time. More...
 

Detailed Description

Benchmark class.

~

Author
Khrapov
Date
2.02.2020

Definition at line 25 of file benchmark.h.

Member Function Documentation

◆ end()

double qx::benchmark::end ( void  )
inline

End benchmark.

Return values
-number of seconds since start time

Definition at line 18 of file benchmark.inl.

◆ last()

double qx::benchmark::last ( ) const
inline

Get last benchmark time.

Return values
-last number of seconds since start time

Definition at line 24 of file benchmark.inl.


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