CPU Speed  448.924 Mhz


Measure hrtime() overhead (the time between successive
  calls to hrtime().)

hrtime() overhead is 1.077e-005 seconds.
hrtime() overhead is 3.765e-006 seconds.
hrtime() overhead is 3.522e-006 seconds.
hrtime() overhead is 3.404e-006 seconds.
hrtime() overhead is 3.435e-006 seconds.
hrtime() overhead is 3.063e-006 seconds.
hrtime() overhead is 3.520e-006 seconds.
hrtime() overhead is 3.054e-006 seconds.
hrtime() overhead is 3.448e-006 seconds.
hrtime() overhead is 3.223e-006 seconds.

Check repeatability of measuring CPU speed.
  Under DOS32 I use tick_rate(997) while measuring cpu speed.
    Win32 has a tick rate of 100.
    Linux has a tick rate of 1000.
    At least according to Eu doc.

Cpu Speed =     218.87MHz for     1 ticks.
Cpu Speed =     448.87MHz for     2 ticks.
Cpu Speed =     448.77MHz for     3 ticks.
Cpu Speed =     476.92MHz for     4 ticks.
Cpu Speed =     469.37MHz for     5 ticks.
Cpu Speed =     448.79MHz for    10 ticks.
Cpu Speed =     448.81MHz for    20 ticks.
Cpu Speed =     445.00MHz for    30 ticks.
Cpu Speed =     448.81MHz for    50 ticks.
Cpu Speed =     448.81MHz for    75 ticks.

Measure rate of standard ticks.

Std tick rate is   100.20 times/sec.
Std tick rate is   100.03 times/sec.
Std tick rate is   100.22 times/sec.
Std tick rate is    33.30 times/sec.
Std tick rate is   100.14 times/sec.
Std tick rate is   100.33 times/sec.
Std tick rate is   100.05 times/sec.
Std tick rate is    33.01 times/sec.
Std tick rate is   103.13 times/sec.
Std tick rate is    33.30 times/sec.

Measure amount of work done while waiting for tick.

Was able to incr cnt      17370 times while waiting for 1.00e-002 secs.
Was able to incr cnt      17605 times while waiting for 9.98e-003 secs.
Was able to incr cnt       8811 times while waiting for 6.50e-002 secs.
Was able to incr cnt       8756 times while waiting for 4.97e-003 secs.
Was able to incr cnt      17634 times while waiting for 1.00e-002 secs.
Was able to incr cnt       8766 times while waiting for 3.51e-002 secs.
Was able to incr cnt       8532 times while waiting for 4.84e-003 secs.
Was able to incr cnt      17633 times while waiting for 9.99e-003 secs.
Was able to incr cnt       8812 times while waiting for 4.50e-002 secs.
Was able to incr cnt       8767 times while waiting for 4.99e-003 secs.

Explore speed of floating point operations.
  fnums is sequence of 100000 random floating point numbers.

     Computing sum += 1.0/sqrt(fnums[i]) takes 2.70e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 2.11e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.91e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 2.51e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.75e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.95e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.82e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.36e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.91e-001 secs.
     Computing sum += 1.0/sqrt(fnums[i]) takes 1.96e-001 secs.

Begin testing use of HLT.
  Note: This will cause a program crash if run under straight DOS,
        but should be OK in a Windows DOS box or as a Windows
        cmdline program or in Linux (or FreeBSD).
  call(HLT) will return control to OS until OS gives it back.

Time delay after calling HLT is 1.74e-002 seconds.
Time delay after calling HLT is 2.00e-002 seconds.
Time delay after calling HLT is 4.00e-002 seconds.
Time delay after calling HLT is 2.04e-002 seconds.
Time delay after calling HLT is 1.96e-002 seconds.
Time delay after calling HLT is 2.00e-002 seconds.
Time delay after calling HLT is 9.50e-002 seconds.
Time delay after calling HLT is 2.00e-002 seconds.
Time delay after calling HLT is 4.00e-002 seconds.
Time delay after calling HLT is 2.00e-002 seconds.


CPU Speed is 448.81 MHz, but I set it to 4.49 MHz.
  hrtime() should now report that HLT delay is about 100.00 times > than
  above, but the actual delay time has not changed.

Time delay after calling HLT is 3.94e+000 seconds.
Time delay after calling HLT is 4.00e+000 seconds.
Time delay after calling HLT is 2.00e+000 seconds.
Time delay after calling HLT is 4.00e+000 seconds.
Time delay after calling HLT is 2.00e+000 seconds.
Time delay after calling HLT is 4.00e+000 seconds.
Time delay after calling HLT is 2.00e+000 seconds.
Time delay after calling HLT is 4.00e+000 seconds.
Time delay after calling HLT is 4.00e+000 seconds.
Time delay after calling HLT is 6.00e+000 seconds.
