⏱️ golxzn::os::chrono ⏱️ 1.2.4
Chrono for golxzn's projects.
Loading...
Searching...
No Matches
clock.hpp File Reference

Clock classes to measure elapsed time. More...

#include "golxzn/os/chrono/utils.hpp"
#include "golxzn/os/chrono/time.hpp"
#include "golxzn/os/chrono/impl/clock.inl"

Go to the source code of this file.

Classes

class  golxzn::os::chrono::fast_clock< BaseClock >
 Class that represents fast clock, which store only one time point.This class allows to measure time since last call of elapsed() or since construction. It's fast because it doesn't store any information but last time point This class provides measurement of elapsed time since last call of elapsed() or since construction.

‍It doesn't store any information but last time point. When you call elapsed(), it stores new time point, and returns difference of old and new time points.

More...
 
class  golxzn::os::chrono::clock< BaseClock >
 Class that represents clock.In comparison with golxzn::os::chrono::fast_clock, it provides more functionality but it's slower. More...
 

Detailed Description

Clock classes to measure elapsed time.

Author
Ruslan Golovinskii (golxz.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2023-10-24