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