mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-06 03:23:58 +00:00
Because it's very useful. As part of this, the "percentage of events
annotated" numbers at the bottom of the output is changed to "events
annotated" so that --show-percs doesn't compute a percentage of a
percentage.
Example output lines:
```
4,967,137,442 (100.0%) PROGRAM TOTALS
4,543 (25.23%) 17,566 ( 0.43%) 47,993 ( 0.92%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c
1 ( 0.01%) 2,000,001 (49.29%) 3,000,004 (57.36%) for (int i = 0; i < 1000000; i++) {
```
The commit also adds some much-needed tests for cg_annotate and
callgrind_annotate.
18 lines
166 B
Plaintext
18 lines
166 B
Plaintext
|
|
|
|
I refs:
|
|
I1 misses:
|
|
LLi misses:
|
|
I1 miss rate:
|
|
LLi miss rate:
|
|
|
|
D refs:
|
|
D1 misses:
|
|
LLd misses:
|
|
D1 miss rate:
|
|
LLd miss rate:
|
|
|
|
LL refs:
|
|
LL misses:
|
|
LL miss rate:
|