HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
|
Go to the source code of this file.
Classes | |
class | Heph::Stopwatch |
class for measuring time. More... | |
Macros | |
#define | HEPH_SW_NANO (1e-9) |
#define | HEPH_SW_MICRO (1e-6) |
#define | HEPH_SW_MILLI (1e-3) |
#define | HEPH_SW_RESET Heph::Stopwatch::GetInstance().Reset() |
#define | HEPH_SW_DT Heph::Stopwatch::GetInstance().DeltaTime() |
#define | HEPH_SW_DT_S Heph::Stopwatch::GetInstance().DeltaTime() |
#define | HEPH_SW_DT_MS Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_MILLI) |
#define | HEPH_SW_DT_US Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_MICRO) |
#define | HEPH_SW_DT_NS Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_NANO) |
#define HEPH_SW_RESET Heph::Stopwatch::GetInstance().Reset() |
resets the thread local Stopwatch instance.
#define HEPH_SW_DT Heph::Stopwatch::GetInstance().DeltaTime() |
gets the elapsed time since the last reset of the thread local Stopwatch instance in seconds.
#define HEPH_SW_DT_S Heph::Stopwatch::GetInstance().DeltaTime() |
gets the elapsed time since the last reset of the thread local Stopwatch instance in seconds.
#define HEPH_SW_DT_MS Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_MILLI) |
gets the elapsed time since the last reset of the thread local Stopwatch instance in milliseconds.
#define HEPH_SW_DT_US Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_MICRO) |
gets the elapsed time since the last reset of the thread local Stopwatch instance in microseconds.
#define HEPH_SW_DT_NS Heph::Stopwatch::GetInstance().DeltaTime(HEPH_SW_NANO) |
gets the elapsed time since the last reset of the thread local Stopwatch instance in nanoseconds.