CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Utilities/Timing/src/LinuxCPUTime.cc

Go to the documentation of this file.
00001 #include "Utilities/Timing/interface/LinuxCPUTime.h"
00002 #include <iostream>
00003  
00004 std::ostream * LinuxElapsedTime::dout = &std::cout;
00005 
00006 LinuxElapsedTime::~LinuxElapsedTime() {
00007   LinuxCPUTime end;
00008   out << "\n" << name << " CPU elapsed time " 
00009       << end.utime()-begin.utime() 
00010       << std::endl;  
00011 }
00012 
00013