mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
And deprecate the use of `cg_diff` and `cg_merge`. Because `cg_annotate` can do a better job, even annotating source files when doing diffs in some cases. The user requests merging by passing multiple cgout files to `cg_annotate`, and diffing by passing two cgout files to `cg_annotate` along with `--diff`.
62 lines
3.5 KiB
Plaintext
62 lines
3.5 KiB
Plaintext
--------------------------------------------------------------------------------
|
|
-- Metadata
|
|
--------------------------------------------------------------------------------
|
|
Invocation: ../cg_annotate --sort=Dr --show=Dw,Dr,Ir --auto=no ann1.cgout
|
|
I1 cache: 32768 B, 64 B, 8-way associative
|
|
D1 cache: 32768 B, 64 B, 8-way associative
|
|
LL cache: 19922944 B, 64 B, 19-way associative
|
|
Command: ./a.out
|
|
Events recorded: Ir I1mr ILmr Dr D1mr DLmr Dw D1mw DLmw
|
|
Events shown: Dw Dr Ir
|
|
Event sort order: Dr
|
|
Threshold: 0.1%
|
|
Annotation: off
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Summary
|
|
--------------------------------------------------------------------------------
|
|
Dw_____________ Dr________________ Ir________________
|
|
|
|
18,005 (100.0%) 4,057,955 (100.0%) 5,229,753 (100.0%) PROGRAM TOTALS
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- File:function summary
|
|
--------------------------------------------------------------------------------
|
|
Dw__________________ Dr______________________ Ir______________________ file:function
|
|
|
|
< 3 (0.0%, 0.0%) 4,000,004 (98.6%, 98.6%) 5,000,015 (95.6%, 95.6%) a.c:main
|
|
|
|
< 7,668 (42.6%, 42.6%) 23,365 (0.6%, 99.1%) 76,688 (1.5%, 97.1%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:
|
|
4,543 (25.2%) 17,566 (0.4%) 47,993 (0.9%) do_lookup_x
|
|
3,083 (17.1%) 5,750 (0.1%) 28,534 (0.5%) _dl_lookup_symbol_x
|
|
|
|
< 22 (0.1%, 42.7%) 5,577 (0.1%, 99.3%) 28,391 (0.5%, 97.6%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-tunables.c:
|
|
8 (0.0%) 5,521 (0.1%) 28,136 (0.5%) __GI___tunables_init
|
|
|
|
< 2,542 (14.1%, 56.8%) 5,343 (0.1%, 99.4%) 22,214 (0.4%, 98.0%) /build/glibc-OTsEL5/glibc-2.27/elf/../sysdeps/x86_64/dl-machine.h:
|
|
2,490 (13.8%) 5,219 (0.1%) 21,821 (0.4%) _dl_relocate_object
|
|
|
|
< 0 (0.0%, 56.8%) 5,158 (0.1%, 99.5%) 25,408 (0.5%, 98.5%) /build/glibc-OTsEL5/glibc-2.27/string/../sysdeps/x86_64/strcmp.S:strcmp
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Function:file summary
|
|
--------------------------------------------------------------------------------
|
|
Dw__________________ Dr______________________ Ir______________________ function:file
|
|
|
|
> 3 (0.0%, 0.0%) 4,000,004 (98.6%, 98.6%) 5,000,015 (95.6%, 95.6%) main:a.c
|
|
|
|
> 4,543 (25.2%, 25.2%) 17,684 (0.4%, 99.0%) 48,347 (0.9%, 96.5%) do_lookup_x:
|
|
4,543 (25.2%) 17,566 (0.4%) 47,993 (0.9%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c
|
|
|
|
> 3,010 (16.7%, 42.0%) 8,480 (0.2%, 99.2%) 34,576 (0.7%, 97.2%) _dl_relocate_object:
|
|
2,490 (13.8%) 5,219 (0.1%) 21,821 (0.4%) /build/glibc-OTsEL5/glibc-2.27/elf/../sysdeps/x86_64/dl-machine.h
|
|
|
|
> 8 (0.0%, 42.0%) 7,430 (0.2%, 99.4%) 36,191 (0.7%, 97.9%) __GI___tunables_init:
|
|
8 (0.0%) 5,521 (0.1%) 28,136 (0.5%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-tunables.c
|
|
|
|
> 3,083 (17.1%, 59.1%) 5,750 (0.1%, 99.5%) 28,534 (0.5%, 98.4%) _dl_lookup_symbol_x:/build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c
|
|
|
|
> 0 (0.0%, 59.1%) 5,166 (0.1%, 99.7%) 25,426 (0.5%, 98.9%) strcmp:
|
|
0 5,158 (0.1%) 25,408 (0.5%) /build/glibc-OTsEL5/glibc-2.27/string/../sysdeps/x86_64/strcmp.S
|
|
|