See Gcc-4.1.0 notes on installation.

Parallelism profiling

-- TongxinBai 1/14/2007
  • 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
    • create a text file "" 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, "" and ""
      • contains the whole dependence trace where each dependence is described by a source and sink time pair followed by source locations.
      • records all the entering and leaving times of the profiled functions.
    • the could be plotted in flat time space or you may use file:///p/compiler/repos/tools/ to parse the trace to get the pure source level information.

  • Source code
    • new files added: bop-dep-prof.c bop-dep-prof.h

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. The compilation is fine until it tries to produce the man page directory.

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 2008-01-15 - TongxinBai
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback