1 Tested on Windows XP SP2 (X86)
2 SMP - tested (AMD X2 - i.e. 2 CPUs)
3 Kernel accounting _IS_ inaccurate
5 Apparently RMClock (http://cpu.rightmark.org/products/rmclock.shtml)
6 either somehow sets CR4.PCE or hooks to the #GP(0) handler so that
7 RDPMC works from user-space.
9 Therefore if RMClock is running, APC can invoked with `-M' switch and
10 by sampling TSC/PMC0 one can estimate the idleness of the system.
12 No idea how this behaves in presence of frequent (no pun intended)
13 CPU frequency changes.
15 As it is now ml_apc.c must be compiled with the compiler supporting
16 Microsoft style inline assembly, in other words compilation will most
17 likely fail if trying to build with Mingw or Cygwin based OCaml
21 CLOCKS IN UNHALTED STATE
22 Idle factor = 1 - ------------------------
25 To get rid of console (and by extension ability to read error/help
26 messages) one can unREM the last line of build.bat before building.