![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Timer.h>


Public Member Functions | |
| FPSTimer (const std::string &fps_timer_info="", int expectation=-1, double time_to_print=3000.0, int events_to_print=100) | |
| void | Signal () |
Public Member Functions inherited from cloudViewer::utility::Timer | |
| Timer () | |
| ~Timer () | |
| void | Start () |
| void | Stop () |
| void | Print (const std::string &timer_info) const |
| double | GetDurationInSecond () const |
| double | GetDurationInMillisecond () const |
| std::tuple< int, int, double > | GetDurationInHMS () const |
Additional Inherited Members | |
Static Public Member Functions inherited from cloudViewer::utility::Timer | |
| static double | GetSystemTimeInMilliseconds () |
| cloudViewer::utility::FPSTimer::FPSTimer | ( | const std::string & | fps_timer_info = "", |
| int | expectation = -1, |
||
| double | time_to_print = 3000.0, |
||
| int | events_to_print = 100 |
||
| ) |
Definition at line 67 of file Timer.cpp.
References cloudViewer::utility::Timer::Start().
| void cloudViewer::utility::FPSTimer::Signal | ( | ) |
Function to signal an event It automatically prints FPS information when duration is more than time_to_print_, or event has been signaled events_to_print_ times.
Definition at line 80 of file Timer.cpp.
References cloudViewer::utility::Timer::GetDurationInMillisecond(), LogInfo, cloudViewer::utility::Timer::Start(), and cloudViewer::utility::Timer::Stop().