CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/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