Commit [18c4a6] Maximize Restore History

Performance improvement for operf's perf_event-to-oprofile format conversion

This patch decreases the time needed for converting sample records from
perf_events format to oprofile sample file format by about 1/3. The
performance improvement is most notable when doing system-wide profiling
of a busy system and specifying '--lazy-conversion', where the conversion
process runs after a (long) profiling session has been ended.

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

Maynard Johnson Maynard Johnson 2013-03-19

changed libperf_events/operf_counter.cpp
changed libperf_events/operf_utils.cpp
changed libperf_events/operf_utils.h
libperf_events/operf_counter.cpp Diff Switch to side-by-side view
Loading...
libperf_events/operf_utils.cpp Diff Switch to side-by-side view
Loading...
libperf_events/operf_utils.h Diff Switch to side-by-side view
Loading...