mostang.com!davidm
fc7b49b983
(measure_init): Improve it so that we don't measure noise, such
...
as context-switches.
(Logical change 1.191)
2004-03-28 00:24:33 +00:00
mostang.com!davidm
96c6250626
Include <memory.h>.
...
(MB): New macro.
(big): New array.
(measure_unwind): Don't try to measure "init" step---it's too fast.
(f1): Likewise.
(doit): Likewise.
(sum): New function.
(measure_init): Measure unw_getcontext() and unw_local_init() here.
(main): Call measure_init(), adjust labels for doit() calls.
(Logical change 1.190)
2004-03-27 09:25:58 +00:00
mostang.com!davidm
c7fdc72fd6
Make number of iterations controllable via the second command-line
...
argument.
(gettime): Use clock_gettime() instead of gettimeofday() to get
(potentially) better resolution.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
e1da718101
Add copyright notice.
...
(Logical change 1.157)
2004-01-21 06:36:35 +00:00
hp.com!davidm
5e446b24d7
(ITERATIONS): New macro.
...
(maxlevel): New global variable.
(measure_unwind): Return init/step times via arg pointers.
(f1): Pass through init/step pointers.
(doit): New function.
(main): Use doit() instead of open code.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
mostang.com!davidm
7a346fbf8c
Measure with caching disabled, global caching, and thread-local
...
caching.
(Logical change 1.114)
2003-11-20 01:10:03 +00:00
hp.com!davidm
29f2f89a8f
(measure_unwind): Return 0.
...
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
048d4239ae
Collect 20 samples per run.
...
(Logical change 1.102)
2003-09-24 21:56:42 +00:00
mostang.com!davidm
12876ef781
(Logical change 1.98)
2003-09-24 05:02:14 +00:00
mostang.com!davidm
ee803e7acc
Initial revision
2003-09-24 05:02:14 +00:00