History log of /external/libunwind/tests/Gperf-simple.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e3e49dc28aee0dc78f0243d932a5c950aaec7e3e 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `NOINLINE'
/external/libunwind/tests/Gperf-simple.c
ded94b98ff3534a3c394591f4b254b1af6f0711c 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Stop including `memory.h'

I am unable to find any reference to `memory.h' in the C99 and C11
committee drafts, so include `string.h' instead when we need memset() or
similar.
/external/libunwind/tests/Gperf-simple.c
02c9034eb214248646be46cb344b7a6e7b67f661 03-May-2005 hp.com!davidm <hp.com!davidm> Tweak such that GCC v4 doesn't optimize it to the point where the
test fails (it managed to unravel the recursion in f1).

(Logical change 1.290)
/external/libunwind/tests/Gperf-simple.c
50c2be0ca322727d5a4f53fbf70fa579c853bc70 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Undo some temporary testing hacks.

(Logical change 1.198)
/external/libunwind/tests/Gperf-simple.c
e3eae746986c627103b8709130f439a24663eaeb 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (gettime): Go back to gettimeofday(). clock_gettime() requires
librt which requires libpthread, which slows everything
down.

(Logical change 1.197)
/external/libunwind/tests/Gperf-simple.c
3be31f5dcb65ec1a37de234f127f7e69c9352a92 31-Mar-2004 hp.com!davidm <hp.com!davidm> Include <unistd.h> and <sys/resource.h>.
(KB): New macro.
(big): Lower the size to 64*MB. Should be enough for another year... ;-)
(gettime): Fix typo and lower the assumed cache-line size from 64
to 8 bytes just to be safe across platforms.
(measure_init): Lower N from 1000 to 100.
(cursor): Add some padding between each unw_cursor_t to avoid
benefitting from cache-line sharing.
(uc): Likewise.
Warm up the TLB before measuring the cold-cache cases.
(main): Unlimit the max. stack-size just in case.
Write to "big" to ensure it's backed by real memory
(not just by the zero page).

(Logical change 1.194)
/external/libunwind/tests/Gperf-simple.c
fc7b49b9837b84727da4c25ba0905b8d2a1920e8 28-Mar-2004 mostang.com!davidm <mostang.com!davidm> (measure_init): Improve it so that we don't measure noise, such
as context-switches.

(Logical change 1.191)
/external/libunwind/tests/Gperf-simple.c
96c62506269ed6b7de3531816e9ad4a62fb50d92 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> 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)
/external/libunwind/tests/Gperf-simple.c
c7fdc72fd6c462b87afb1af5390ffa3724a16f18 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> 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)
/external/libunwind/tests/Gperf-simple.c
e1da71810155740b4cffe9b9e009fe5273802214 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.157)
/external/libunwind/tests/Gperf-simple.c
5e446b24d7e2a107d5988db49f00b3e7de0295a7 27-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
/external/libunwind/tests/Gperf-simple.c
7a346fbf8ce35978524e85dd2c19768640f20c89 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Measure with caching disabled, global caching, and thread-local
caching.

(Logical change 1.114)
/external/libunwind/tests/Gperf-simple.c
29f2f89a8fc3cd7f103fb7ed7e1c9f79adfd59b8 25-Sep-2003 hp.com!davidm <hp.com!davidm> (measure_unwind): Return 0.

(Logical change 1.104)
/external/libunwind/tests/Gperf-simple.c
048d4239ae39842884678f5493265d576b852cbc 24-Sep-2003 hp.com!davidm <hp.com!davidm> Collect 20 samples per run.

(Logical change 1.102)
/external/libunwind/tests/Gperf-simple.c
12876ef7815e26325a187fd5dbc0fda417011d7b 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.98)
/external/libunwind/tests/Gperf-simple.c
ee803e7accc3ee551cee1e16f7654f7e8f64d72e 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
/external/libunwind/tests/Gperf-simple.c