Commit [98960e]  Maximize  Restore  History

provide an API to walk through vma with non-zero samples count rather to walk
through all vma to collect samples. This is not very clean: see the FIXME
in profile.h. Measures show the improvment is sufficient to allow to commit
this first version. All measures are before patch/after patch

$ time opreport /bin/bash --details
real 0m0.132s
user 0m0.110s
sys 0m0.000s

real 0m0.028s
user 0m0.020s
sys 0m0.000s

$ time opreport -l --details
real 0m2.590s
user 0m2.530s
sys 0m0.050s

real 0m0.229s
user 0m0.190s
sys 0m0.040s

$ time opannotate --source > /dev/null
real 0m2.837s
user 0m2.620s
sys 0m0.130s

real 0m0.525s
user 0m0.310s
sys 0m0.150s

opannoate test is not very meaningfull, in my system most of application
are stripped so there is no call to bfd_find_nearset_line(), on other system
with debug info run time will be dominated by this call and improvment will be
a lot less meaningfull

Philippe Elie Philippe Elie 2003-06-07

changed ChangeLog
changed libpp/profile.cpp
changed libpp/profile.h
changed libpp/profile_container.cpp
ChangeLog Diff Switch to side-by-side view
Loading...
libpp/profile.cpp Diff Switch to side-by-side view
Loading...
libpp/profile.h Diff Switch to side-by-side view
Loading...
libpp/profile_container.cpp Diff Switch to side-by-side view
Loading...