Commit Graph

19 Commits

Author SHA1 Message Date
7fc18e145f time: add wait/reset to period_limiter 2022-03-30 13:29:33 +10:00
c50e24e3be time: add a period_limiter class 2022-03-22 13:18:01 +10:00
92afaf38ec build: avoid double underscore header guards 2021-04-14 15:35:49 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
3748b77500 time/delta_time: return nanoseconds objects rather than floats 2018-04-05 18:48:23 +10:00
59b21e67dd time: more inline implementation into the header 2017-12-30 13:38:11 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
25e19b5810 build: use explicit constructors 2017-05-23 12:50:51 +10:00
678e12216b time: use std::chrono for nanoseconds query 2016-04-05 11:02:54 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
803ec2cacc time: use floats for seconds 2015-01-19 19:11:41 +11:00
5bcc35612c Add period query class 2013-09-20 17:33:08 +10:00
03eab1354a Add simple polled rate limiter 2013-08-08 12:00:29 +10:00
9ff59f8130 Add a clock which gives deltas when polled 2013-08-05 16:40:43 +10:00
7107968cdb Add a periodic statistics printer to time 2012-08-07 18:35:38 +10:00
4abb279f04 Add nanoseconds sleep function 2012-05-01 12:14:38 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
91daeb332f Add simple time functions 2011-08-29 15:28:11 +10:00