CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/EventFilter/Processor/src/procUtils.h

Go to the documentation of this file.
00001 #ifndef EVENTFILTER_PROCESSOR_PROCUTILS_H
00002 #define EVENTFILTER_PROCESSOR_PROCUTILS_H
00003 
00004 #include <string>
00005 
00006 namespace evf{
00007   namespace utils{
00008     void procCpuStat(unsigned long long &idleJiffies,unsigned long long &allJiffies);
00009     void procStat(std::ostringstream *);
00010     void uptime(std::ostringstream *);
00011     void mDiv(std::ostringstream *out, std::string name);
00012     void cDiv(std::ostringstream *out);
00013     void mDiv(std::ostringstream *out, std::string name, std::string value);
00014     void mDiv(std::ostringstream *out, std::string name, unsigned int value);
00015   }
00016 }
00017 #endif