Difference: GccVersion4_1_0 (5 vs. 6)

Revision 62008-01-15 - TongxinBai

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Line: 8 to 8
 

Parallelism profiling

-- TongxinBai 1/14/2007
Changed:
<
<
  • Usage:
>
>
  • Dependence Tracing Tool (DTT) Usage:
 
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
Changed:
<
<
    • under the source directory, create a text file named "functions.in" to specify a list of functions to be examined, one function name a line.
    • after compilation with the above gcc options, the application has to be linked against a specific profiling tool so that the instrumentation functions get defined.
    • the example profiling tools could be checked out from "/p/compiler/repos/tools"
>
>
    • create a text file "functions.in" under the source dir to specify a list of functions to be examined, one function name per line.
    • link against the compiled DTT tool so that the instrumentation functions get defined.
    • the DTT tool source file could be checked out from "file:///p/compiler/repos/tools/dep-traces.c"
    • after the profiling-enabled running, there will be two output files dumped, "deptrace.prof" and "rgntrace.prof"
      • deptrace.prof contains the whole dependence trace where each dependence is described by a source and sink time pair followed by source locations.
      • rgntrace.prof records all the entering and leaving times of the profiled functions.
    • the deptrace.prof could be plotted in flat time space or you may use file:///p/compiler/repos/tools/process-deptrace.pl to parse the trace to get the pure source level information.
 
  • Source code
    • new files added: bop-dep-prof.c bop-dep-prof.h
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback