summaryrefslogtreecommitdiff
path: root/lib/common/Timer.h
Commit message (Collapse)AuthorAge
* Fix -Wundefined-bool-conversion compile failure of master branchChris Wilson2017-10-16
| | | | | | | | | | Master build fails with: lib/common/Timer.cpp:171:10: error: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Werror,-Wundefined-bool-conversion]. Cannot get regtests to pass on this feature branch without fixing this. Also remove unused code from Timers.
* Backport Timers::Cleanup that's safe to use in test cleanup.Chris Wilson2014-09-04
| | | | | | | | | | Allows it not to throw an exception if timers weren't initialised when cleanup was requested. Normally we want an exception thrown, but not while we're cleaning up a test that might have failed with timers uninitialised. More timers fixes after cleanup no-exception option. Merged back changes from the test refactor branch to reduce diffs.
* Use more efficient direct reset of Timers instead of assignment.Chris Wilson2012-11-17
|
* Refactor and improve timer trace logging, fix subsecond formatting error.Chris Wilson2012-11-07
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* New timer implementation using TimerQueue on Windows to avoid the needChris Wilson2008-07-27
| | | | | to create and manage a separate thread ourselves.
* Don't #include sys/time.h unless our platform has it, thanks Gary.Chris Wilson2007-07-26
| | | | | (refs #3, merges [1664])
* Fix header include order. (refs #3, merges [1446])Chris Wilson2007-03-24
|
* Fixed a race condition caused by rescheduling in signal handler (refs Chris Wilson2006-12-03
| | | | | #3, refs #9)
* Use a static pointer rather than a static object, to allow it to be Chris Wilson2006-11-13
| | | | | freed in Timers::Cleanup, removing a reported memory leak (refs #9)
* Added generic timer support classChris Wilson2006-11-06