s;build.sh;tbs
[apc.git] / README.windows
blob45705619991a3a163886f568e5f4a6ef1f93f976
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
18 distribution.
21                     CLOCKS IN UNHALTED STATE
22 Idle factor =  1 -  ------------------------
23                          TOTAL CLOCKS
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.