faster Tau on Linux

This commit is contained in:
David Rose 2006-04-25 19:26:08 +00:00
parent 7f49d41284
commit 95d10754c0
4 changed files with 14 additions and 10 deletions

View File

@ -87,7 +87,7 @@
#push 1 $[file]_obj
#end file
#if $[and $[not $[DONT_COMBINE]],$[or $[USE_SINGLE_COMPOSITE_SOURCEFILE],$[and $[USE_TAU],$[WINDOWS_PLATFORM]]]]
#if $[and $[not $[DONT_COMBINE]],$[or $[USE_SINGLE_COMPOSITE_SOURCEFILE],$[USE_TAU]]]
#if $[> $[words $[cxx_sources]], 1]
// If we have multiple C++ files, put them together into one
// composite file.

View File

@ -166,7 +166,14 @@
/* ################################# DO NOT EDIT ########################### */
#foreach file $[$[composite_file]_sources]
#if $[USE_TAU]
// For the benefit of Tau, we copy the source file verbatim into the
// composite file. (Tau doesn't instrument files picked up via #include.)
#copy $[DIRPREFIX]$[file]
#else
##include "$[file]"
#endif // USE_TAU
#end file
#end $[composite_file]

View File

@ -18,11 +18,7 @@
#include "dconfig.h"
namespace Config {
clock_t total_time_config_init = 0;
clock_t total_time_external_init = 0;
int total_num_get = 0;
}
clock_t Config::total_time_config_init = 0;
clock_t Config::total_time_external_init = 0;
int Config::total_num_get = 0;

View File

@ -7,8 +7,9 @@
#begin lib_target
#define TARGET pgraph
// This directory is too big to combine into a single composite file.
#define DONT_COMBINE 1
// This directory is too big to combine into a single composite
// file--at least on Windows.
#define DONT_COMBINE $[WINDOWS_PLATFORM]
#define SOURCES \
accumulatedAttribs.I accumulatedAttribs.h \