mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 18:56:10 +00:00
The number of such entries was hardcoded to 8.
A new command line option -history-backtrace-size=number allows
to set the (max) number of entries to record.
Note that according
perl perf/vg_perf --tools=helgrind --vg=. --vg=../trunk_untouched perf
this change (unexpectedly) improves some tests:
- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 . :0.08s he: 2.0s (25.5x, -----)
bigcode1 trunk_untouched:0.08s he: 2.1s (25.9x, -1.5%)
-- bigcode2 --
bigcode2 . :0.08s he: 4.2s (52.2x, -----)
bigcode2 trunk_untouched:0.08s he: 4.2s (52.0x, 0.5%)
-- bz2 --
bz2 . :0.40s he: 6.5s (16.3x, -----)
bz2 trunk_untouched:0.40s he: 7.4s (18.5x,-14.0%)
-- fbench --
fbench . :0.15s he: 2.0s (13.2x, -----)
fbench trunk_untouched:0.15s he: 2.3s (15.5x,-17.7%)
-- ffbench --
ffbench . :0.16s he: 3.7s (23.2x, -----)
ffbench trunk_untouched:0.16s he: 3.7s (23.4x, -0.8%)
-- heap --
heap . :0.05s he: 5.1s (102.8x, -----)
heap trunk_untouched:0.05s he: 5.2s (104.6x, -1.8%)
-- heap_pdb4 --
heap_pdb4 . :0.07s he: 5.8s (82.9x, -----)
heap_pdb4 trunk_untouched:0.07s he: 5.8s (83.3x, -0.5%)
-- many-loss-records --
many-loss-records . :0.01s he: 1.0s (96.0x, -----)
many-loss-records trunk_untouched:0.01s he: 0.9s (95.0x, 1.0%)
-- many-xpts --
many-xpts . :0.04s he: 1.6s (38.8x, -----)
many-xpts trunk_untouched:0.04s he: 1.5s (38.5x, 0.6%)
-- memrw --
memrw . :0.06s he: 2.5s (41.2x, -----)
memrw trunk_untouched:0.06s he: 2.5s (41.2x, 0.0%)
-- sarp --
sarp . :0.02s he: 4.0s (198.0x, -----)
sarp trunk_untouched:0.02s he: 3.9s (196.5x, 0.8%)
-- tinycc --
tinycc . :0.10s he: 7.1s (70.7x, -----)
tinycc trunk_untouched:0.10s he: 7.6s (75.8x, -7.2%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 24 timings =================