Difference: GccVersion4_1_0 (1 vs. 9)

Revision 92008-08-20 - ChenDing

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

Installation

See Gcc-4.0.1 notes on installation.

Added:
>
>

Function cloning

 
Added:
>
>
Files changed (not all of them due to cloning):
U    gcc/flags.h
U    gcc/cgraph.c
U    gcc/tree-pass.h
U    gcc/cgraphunit.c
U    gcc/dominance.c
U    gcc/opts.c
U    gcc/c-decl.c
U    gcc/bop-dep-prof.c
A    gcc/fastrack-profile.c
A    gcc/fastrack-profile.h
U    gcc/common.opt
U    gcc/bop-inst.c
U    gcc/tree-optimize.c
U    gcc/bop-inst.h
A    gcc/ft-clone.c
A    gcc/ft-clone.h
U    gcc/main.c
U    gcc/tree-cfg.c
U    gcc/passes.c
 

Parallelism profiling

-- TongxinBai 1/14/2007
  • Dependence Tracing Tool (DTT) Usage:

Revision 82008-01-21 - TongxinBai

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Line: 14 to 14
 
    • 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"
Changed:
<
<
    • 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.
>
>
    • after each profiling run, 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.
 
Added:
>
>
 
  • Source code
    • new files added: bop-dep-prof.c bop-dep-prof.h

Revision 72008-01-16 - XiaomingGu

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

Installation

Changed:
<
<
See Gcc-4.1.0 notes on installation.
>
>
See Gcc-4.0.1 notes on installation.
 

Parallelism profiling

-- TongxinBai 1/14/2007

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

Revision 52008-01-15 - TongxinBai

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Line: 11 to 11
 
  • Usage:
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
Added:
>
>
    • 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"
Added:
>
>
 
  • Source code
Changed:
<
<
    • new files : bop-dep-prof.c bop-dep-prof.h
>
>
    • new files added: bop-dep-prof.c bop-dep-prof.h
 

Trimming the package

Revision 42008-01-15 - ChenDing

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Added:
>
>

Installation

See Gcc-4.1.0 notes on installation.

 

Parallelism profiling

-- TongxinBai 1/14/2007

Revision 32008-01-15 - ChenDing

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Added:
>
>

Parallelism profiling

-- TongxinBai 1/14/2007
  • Usage:
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
    • 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"
  • Source code
    • new files : bop-dep-prof.c bop-dep-prof.h
 

Trimming the package

The initial directory has 256MB. I have removed the following:

Line: 14 to 24
 
    • in po, removed *.po and *.pmo
    • in config, removed largest files/dirs except for i386 and sh
Changed:
<
<
The new directory has 166MB.

Parallelism profiling

-- TongxinBai 1/14/2007
  • Usage:
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
    • 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"
  • Source code
    • new files : bop-dep-prof.c bop-dep-prof.h
>
>
The new directory has 166MB. The compilation is fine until it tries to produce the man page directory.

Revision 22008-01-15 - TongxinBai

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Line: 15 to 15
 
    • in config, removed largest files/dirs except for i386 and sh

The new directory has 166MB.

Added:
>
>

Parallelism profiling

-- TongxinBai 1/14/2007
  • Usage:
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
    • 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"
  • Source code
    • new files : bop-dep-prof.c bop-dep-prof.h

Revision 12008-01-14 - ChenDing

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CompilerRepository"

Trimming the package

The initial directory has 256MB. I have removed the following:

  • in libstdc++-v3
    • removed doc and testsuites
  • in gcc
    • removed ChangeLog*
    • removed doc
    • in po, removed *.po and *.pmo
    • in config, removed largest files/dirs except for i386 and sh

The new directory has 166MB.

 
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