tim-asc-parm: $Id: @(#) XGraph v20040124 '/Users/bertin/work/src/xgraph/tim-asc-parm.c'-[Jan 24 2004,18:58:37]-(
		ascanfc callback timing
	)[/usr/bin/gcc -fwritable-strings -mpowerpc -malign-natural -maltivec -mabi=altivec -faltivec -mhard-float -mpowerpc-gfxopt -fno-fast-math -fno-float-store -fomit-frame-pointer -fno-strict-aliasing  -O3 -fstrength-reduce  -fexpensive-optimizations -frerun-cse-after-loop -fschedule-insns -fschedule-insns2 -finline-functions -funroll-loops     -o /Users/bertin/work/src/xgraph/tim-asc-parm tim-asc-parm.c ] $
Timing a requested wait of 0.1s using Elapsed_Since: user-time=0, system-time=0 real-time=0.1/0.101085
Timing a requested wait of 0.1s using lowlevel fftw routines: lowlevel timer: 0.100148s; AVERAGE gain with real timer (0.101085s): lowlevel/real=0.9907315150328379616 (1.0093551934368967249); AVERAGE gain with ACTUAL time (0.1s): lowlevel/real=1.001480951970944 (0.99852123800454772873)
Timing a requested wait of 0.5s using Elapsed_Since: user-time=0, system-time=0 real-time=0.5/0.500117
Timing a requested wait of 0.5s using lowlevel fftw routines: lowlevel timer: 0.500329s; AVERAGE gain with real timer (0.500117s): lowlevel/real=0.99557726122877965302 (1.0044423862852809304); AVERAGE gain with ACTUAL time (0.5s): lowlevel/real=1.0010690291897015314 (0.998932112413299933)
Timing a requested wait of 1s using Elapsed_Since: user-time=0, system-time=0 real-time=1/1.00012
Timing a requested wait of 1s using lowlevel fftw routines: lowlevel timer: 1.00055s; AVERAGE gain with real timer (1.00012s): lowlevel/real=0.99719331366692331997 (1.0028145859931167916); AVERAGE gain with ACTUAL time (1s): lowlevel/real=1.0008958432248376003 (0.99910495859194370372)
Timing a requested wait of 1.45s using Elapsed_Since: user-time=0, system-time=0 real-time=1.45/1.45013
Timing a requested wait of 1.45s using lowlevel fftw routines: lowlevel timer: 1.45075s; AVERAGE gain with real timer (1.45013s): lowlevel/real=0.99800260618816849512 (1.0020013913785861259); AVERAGE gain with ACTUAL time (1.45s): lowlevel/real=1.000801926798481567 (0.99919871577281338393)
Timing a requested wait of 5s using Elapsed_Since: user-time=0.01, system-time=0 real-time=5/5.00013
Timing a requested wait of 5s using lowlevel fftw routines: lowlevel timer: 5.00234s; AVERAGE gain with real timer (5.00013s): lowlevel/real=0.99849061017471429924 (1.0015116715269076764); AVERAGE gain with ACTUAL time (5s): lowlevel/real=1.0007351889292102065 (0.99926535117647163897)
Timing a requested wait of 10.2345s using Elapsed_Since: user-time=0, system-time=0 real-time=10.24/10.2346
Timing a requested wait of 10.2345s using lowlevel fftw routines: lowlevel timer: 10.2392s; AVERAGE gain with real timer (10.2346s): lowlevel/real=0.9988165182025204869 (1.0011848840862276333); AVERAGE gain with ACTUAL time (10.2345s): lowlevel/real=1.0006890044203722301 (0.99931146997985509373)
Timing a requested wait of 20s using Elapsed_Since: user-time=0.01, system-time=0 real-time=20/20.0001
Timing a requested wait of 20s using lowlevel fftw routines: lowlevel timer: 20.0091s; AVERAGE gain with real timer (20.0001s): lowlevel/real=0.99904944957132024719 (1.0009514548344804474); AVERAGE gain with ACTUAL time (20s): lowlevel/real=1.0006553381603844333 (0.99934509102645752154)
Timing a requested wait of 11.8939s using Elapsed_Since: user-time=0, system-time=0 real-time=11.9/11.8941
Timing a requested wait of 11.8939s using lowlevel fftw routines: lowlevel timer: 11.8994s; AVERAGE gain with real timer (11.8941s): lowlevel/real=0.99922398778206944492 (1.0007766148805665729); AVERAGE gain with ACTUAL time (11.8939s): lowlevel/real=1.0006305364532996904 (0.9993698608723908805)
Timing a requested wait of 25.2146s using Elapsed_Since: user-time=0, system-time=0 real-time=25.22/25.2147
Timing a requested wait of 25.2146s using lowlevel fftw routines: lowlevel timer: 25.226s; AVERAGE gain with real timer (25.2147s): lowlevel/real=0.99935993158631697408 (1.0006404783636533296); AVERAGE gain with ACTUAL time (25.2146s): lowlevel/real=1.0006107389662357576 (0.9993896338081812436)
Timing a requested wait of 10.6001s using Elapsed_Since: user-time=0, system-time=0 real-time=10.6/10.6002
Timing a requested wait of 10.6001s using lowlevel fftw routines: lowlevel timer: 10.6049s; AVERAGE gain with real timer (10.6002s): lowlevel/real=0.99946848395923293396 (1.0005317987003068403); AVERAGE gain with ACTUAL time (10.6001s): lowlevel/real=1.0005954100186864597 (0.99940494428344894828)
Timing 15000000 times times() routine:
	result= 0s
	user time: 86.46s (0sys): 1.441e-06s/call, 173491 calls/s
	real time: 87.1698s: 1.45283e-06s/call, 172078 calls/s

Timing 15000000 times gettimeofday() routine:
	result= 1.07497e+09s
	user time: 33.17s (0sys): 5.52833e-07s/call, 452216 calls/s
	real time: 33.4894s: 5.58157e-07s/call, 447903 calls/s

Timing 15000000 times lowlevel fftw_time routines:
	result= 19942.6s
	user time: 1.55s (0sys): 2.58333e-08s/call, 9.67742e+06 calls/s
	real time: 1.55814s: 2.5969e-08s/call, 9.62685e+06 calls/s

Timing 30000000 times original ascanf callback mechanism:
		lowlevel timer: 2.6757s; AVERAGE gain with real timer (2.67453s): lowlevel/real=0.99955669168606986474 (1.000443504923349991)
	user time: 2.39s: 7.96667e-08s/call, 1.25523e+07 calls/s
	real time: 2.67453s: 8.91509e-08s/call, 1.12169e+07 calls/s
	returns 0, result=3e+07, level=0

Timing 30000000 times new ascanf callback mechanism, no use of new functionality:
		lowlevel timer: 2.52637s; AVERAGE gain with real timer (2.52527s): lowlevel/real=0.9996301527335371695 (1.0003699841040722962)
	user time: 2.47s: 8.23333e-08s/call, 1.21457e+07 calls/s
	real time: 2.52527s: 8.41756e-08s/call, 1.18799e+07 calls/s
	returns 0, result=3e+07, level=0

Timing 30000000 times new ascanf callback mechanism, full use of new functionality:
		lowlevel timer: 2.52242s; AVERAGE gain with real timer (2.52131s): lowlevel/real=0.99969235281545487659 (1.0003077418604620075)
	user time: 2.48s: 8.26667e-08s/call, 1.20968e+07 calls/s
	real time: 2.52131s: 8.40437e-08s/call, 1.18986e+07 calls/s
	returns 1, result=3e+07, level=0

Timing 30000000 times alternate ascanf callback mechanism, no use of new functionality:
		lowlevel timer: 2.21118s; AVERAGE gain with real timer (2.21021s): lowlevel/real=0.99974550557115704486 (1.0002545592127445317)
	user time: 2.17s: 7.23333e-08s/call, 1.38249e+07 calls/s
	real time: 2.21021s: 7.36737e-08s/call, 1.35734e+07 calls/s
	returns 0, result=3e+07, level=0

Timing 30000000 times alternate ascanf callback mechanism, full use of new functionality:
		lowlevel timer: 2.21132s; AVERAGE gain with real timer (2.21036s): lowlevel/real=0.99979152406741922388 (1.0002085194038579097)
	user time: 2.15s: 7.16667e-08s/call, 1.39535e+07 calls/s
	real time: 2.21036s: 7.36787e-08s/call, 1.35724e+07 calls/s
	returns 1, result=3e+07, level=0

Timing 30000000 times alternate ascanf callback mechanism, full use of new functionality, no convenience vars in callbacks:
		lowlevel timer: 2.20165s; AVERAGE gain with real timer (2.20069s): lowlevel/real=0.99983185245357142357 (1.0001681758247809029)
	user time: 2.15s: 7.16667e-08s/call, 1.39535e+07 calls/s
	real time: 2.20069s: 7.33563e-08s/call, 1.36321e+07 calls/s
	returns 1, result=3e+07, level=0

Timing 30000000 times alternate2 ascanf callback mechanism, semi-full use of new functionality:
		lowlevel timer: 2.29533s; AVERAGE gain with real timer (2.29433s): lowlevel/real=0.99986749000966790302 (1.0001325275515566826)
	user time: 2.25s: 7.5e-08s/call, 1.33333e+07 calls/s
	real time: 2.29433s: 7.64777e-08s/call, 1.30757e+07 calls/s
	returns 1, result=3e+07, level=0

Timing fmod(dist,div==1) for determining decimal part:
		lowlevel timer: 26.6634s; AVERAGE gain with real timer (26.6515s): lowlevel/real=0.99989970041786768729 (1.0001003096431475559)
	user time: 26.42s: 8.80667e-07s/call, 1.1355e+06 calls/s
	real time: 26.6515s: 8.88383e-07s/call, 1.12564e+06 calls/s
	returns result=0.983238

Timing ( dist - div*floor(dist/div) ) for determining decimal part:
		lowlevel timer: 2.39438s; AVERAGE gain with real timer (2.39333s): lowlevel/real=0.99992799050658687232 (1.0000720146791537424)
	user time: 2.36s: 7.86667e-08s/call, 1.27119e+07 calls/s
	real time: 2.39333s: 7.97776e-08s/call, 1.25348e+07 calls/s
	returns result=0.983238

Timing testing for NaN(speed), False:
		lowlevel timer: 0.149432s; AVERAGE gain with real timer (0.149393s): lowlevel/real=0.99994459079061515094 (1.0000554122797353784)
	user time: 0.13s: 4.33333e-09s/call, 2.30769e+08 calls/s
	real time: 0.149393s: 4.97977e-09s/call, 2.00813e+08 calls/s
	returns result=0

Timing testing for NaN(speed), True:
		lowlevel timer: 0.237579s; AVERAGE gain with real timer (0.237495s): lowlevel/real=0.99996399048520667741 (1.0000360108115251556)
	user time: 0.24s: 8e-09s/call, 1.25e+08 calls/s
	real time: 0.237495s: 7.9165e-09s/call, 1.26318e+08 calls/s
	returns result=1

Timing testing for isNaN(speed), False:
		lowlevel timer: 0.11559s; AVERAGE gain with real timer (0.115558s): lowlevel/real=0.99997817796357990616 (1.0000218225126318305)
	user time: 0.12s: 4e-09s/call, 2.5e+08 calls/s
	real time: 0.115558s: 3.85193e-09s/call, 2.5961e+08 calls/s
	returns result=0

Timing testing for isNaN(speed), True:
		lowlevel timer: 0.237762s; AVERAGE gain with real timer (0.23768s): lowlevel/real=0.99999416709093624789 (1.0000058329430867587)
	user time: 0.23s: 7.66667e-09s/call, 1.30435e+08 calls/s
	real time: 0.23768s: 7.92267e-09s/call, 1.2622e+08 calls/s
	returns result=1

Timing testing for speed==-2, True:
		lowlevel timer: 0.132629s; AVERAGE gain with real timer (0.132593s): lowlevel/real=1.000005616014219223 (0.99999438401732010373)
	user time: 0.12s: 4e-09s/call, 2.5e+08 calls/s
	real time: 0.132593s: 4.41977e-09s/call, 2.26256e+08 calls/s
	returns result=1

Timing testing for integer==-2, True:
		lowlevel timer: 0.131407s; AVERAGE gain with real timer (0.131372s): lowlevel/real=1.0000160989038229253 (0.99998390135534764855)
	user time: 0.13s: 4.33333e-09s/call, 2.30769e+08 calls/s
	real time: 0.131372s: 4.37907e-09s/call, 2.28359e+08 calls/s
	returns result=1

Operations were performed on the arguments array; the result should equal the number of loops looped.
