OSDN Git Service

* call graph profiling support
authorfche <fche>
Thu, 8 Nov 2001 21:55:10 +0000 (21:55 +0000)
committerfche <fche>
Thu, 8 Nov 2001 21:55:10 +0000 (21:55 +0000)
commitc8d3794dbc9a81bc2f0bb1fb653a454ac91ee3b8
tree3c68e51047c43582799c9e53c0c1a5c69ed5c434
parent6aa131f7aecdf6ebf63a8cd8fd3022e44458efbc
* call graph profiling support

[sid/bsp]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in (gprof): Connect call-graph pins.

[sid/include]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* sidcpuutil.h (basic_cpu): Add cg caller/callee pins, trace_stream
fields.
(basic_cpu ctor): Initialize them.
(cg_profile): New function.

[sid/component/cgen-cpu]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* cgen-cpu.h (cgen_bi_endian_cpu): Remove trace_stream field: it's
in basic_cpu now.
* compCGEN.cxx: Corresponding change.

[sid/component/profiling]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* gprof.cxx (gprof_component): Add cg caller/callee pins, cg_count_map
field.
(accumulate_call): New function.
(reset): Clear cg map.
(store): Emit call graph info.  Emit histogram iff nonempty.
* sw-profile-gprof.xml: Document call graph functionality.
* sw-profile-gprof.txt: Regenerated.
sid/bsp/ChangeLog
sid/bsp/configrun-sid.in
sid/component/cgen-cpu/ChangeLog
sid/component/cgen-cpu/cgen-cpu.h
sid/component/cgen-cpu/compCGEN.cxx
sid/component/profiling/ChangeLog
sid/component/profiling/gprof.cxx
sid/component/profiling/sw-profile-gprof.txt
sid/component/profiling/sw-profile-gprof.xml
sid/include/ChangeLog
sid/include/sidcpuutil.h