15 #include "GaudiKernel/JobHistory.h"
16 #include "GaudiKernel/System.h"
17 #include "GaudiKernel/Property.h"
60 const std::string& host,
const std::string& dir,
61 const std::string& osver,
const std::string& mach,
62 const std::string& cmtconfig,
64 m_release_version(rel), m_dir(dir), m_cmtconfig(cmtconfig), m_osname(os),
66 m_os_version(osver), m_machine(mach), m_start_time(time) {
81 static CLID CLID_JobHistory = 247994533;
82 return CLID_JobHistory;
89 m_ppl.push_back( std::pair<std::string, const Property*>(client,prop) );
99 ost <<
"OS: " <<
os() << endl;
101 ost <<
"Host: " <<
hostname() << endl;
102 ost <<
"Machine: " <<
machine() << endl;
103 ost <<
"Run dir: " <<
dir() << endl;
104 ost <<
"CMTCONFIG: " <<
cmtconfig() << endl;
105 ost <<
"Job start time: " <<
start_time() << endl << endl;
106 ost <<
"Properties: [" << endl;;
107 for ( JobHistory::PropertyPairList::const_iterator
110 std::string client = ipprop->first;
111 const Property* prop = ipprop->second;
112 ost << client <<
": ";
118 for (vector<string>::const_iterator itr=env.begin(); itr != env.end();