Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

prof Namespace Reference


Classes

struct  prof::ProfImp
struct  prof::ProfilingStarter

Functions

string get_file_extension ()
string build_filename ()

Variables

ProfilingStarter global_prof_starter


Function Documentation

string build_filename  ) 
 

Definition at line 74 of file Profiler.cpp.

References get_file_extension(), and output_filename.

Referenced by prof::ProfImp::ProfImp().

00075 {
00076         ostringstream ost;
00077         //ost << output_filename << getpid();
00078         ost << output_filename << get_file_extension();
00079         return ost.str();
00080 }

string get_file_extension  ) 
 

Definition at line 65 of file Profiler.cpp.

Referenced by build_filename(), and prof::ProfilingStarter::~ProfilingStarter().

00066 {
00067     char* ext = getenv("PERF_TOOLS_EXT");
00068     if (ext) return ext;
00069     ostringstream ost;
00070     ost << getpid();
00071     return ost.str();
00072 }


Variable Documentation

ProfilingStarter prof::global_prof_starter
 

Definition at line 72 of file StartProfiler.cpp.


Generated on Thu Nov 1 15:58:54 2007 for loon by  doxygen 1.3.9.1