1
0
forked from 0ad/0ad
0ad/source/lib/sysdep
janwas 52ae284a7e new timer code (esp. HPET) now operational. TSC still disabled pending calibration code.
add update mechanism (needed to safely handle counter rollover) and
lock-free synchronization.

refactor:
. Counters now have Activate/Shutdown interface rather than throwing
exceptions from the ctor.
. whrt is responsible for caching frequency/resolution etc.
. fix counterBits handling

This was SVN commit r5105.
2007-05-28 09:25:38 +00:00
..
ia32 add work-in-progress WHRT (win high res timer). works well enough, but calibration is not yet complete nor is TSC usable. 2007-05-26 16:57:39 +00:00
tests . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
unix Linux compatibility 2007-05-26 17:10:28 +00:00
win new timer code (esp. HPET) now operational. TSC still disabled pending calibration code. 2007-05-28 09:25:38 +00:00
acpi.cpp acpi and mahaf: now set ModuleInitState to error if something fails (prevents a subsequent init from returning true and allowing its dependent to continue and crash into a wall) 2007-05-26 23:29:20 +00:00
acpi.h # vista compat (fixes wsnd issue) and improvements 2007-05-26 15:34:10 +00:00
compiler.h # MacOSX compat 2007-05-16 16:32:12 +00:00
cpu.cpp prevent crash if lib_error association code is called before _cinit (happens if there's a problem with whrt init). 2007-05-28 09:20:55 +00:00
cpu.h add work-in-progress WHRT (win high res timer). works well enough, but calibration is not yet complete nor is TSC usable. 2007-05-26 16:57:39 +00:00
dir_watch.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
gfx.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
gfx.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
snd.cpp # vista compat (fixes wsnd issue) and improvements 2007-05-26 15:34:10 +00:00
snd.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
stl.h Add some missing file comments in source/lib. 2007-05-08 15:11:53 +00:00
sysdep.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
sysdep.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00