CMS 3D CMS Logo

IgProfExitDump Class Reference

List of all members.

Public Member Functions

 ~IgProfExitDump (void)
 Dump out profile data when application is about to exit.


Detailed Description

Definition at line 31 of file IgProf.cc.


Constructor & Destructor Documentation

IgProfExitDump::~IgProfExitDump ( void   ) 

Dump out profile data when application is about to exit.

Definition at line 641 of file IgProf.cc.

References IgProf::debug(), IgProf::disable(), IgProf::dump(), IgProf::exitThread(), s_activated, s_enabled, s_initialized, s_pthreads, and s_quitting.

00642 {
00643   if (! s_activated) return;
00644   IgProf::debug("merging thread id 0x%lx profile on final exit\n",
00645                 (unsigned long) pthread_self());
00646   IgProf::exitThread(true);
00647   s_activated = false;
00648   s_enabled = 0;
00649   s_quitting = 1;
00650   IgProf::disable(true);
00651   IgProf::dump();
00652   IgProf::debug("igprof quitting\n");
00653   s_initialized = false; // signal local data is unsafe to use
00654   s_pthreads = false; // make sure we no longer use threads stuff
00655 }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:25:25 2009 for CMSSW by  doxygen 1.5.4