wmoo campaign: show elapsed time
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1332 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include <boost/timer.hpp>
|
||||
|
||||
#include "campaign.hpp"
|
||||
#include "experimentInfo.hpp"
|
||||
#include "cpn/CampaignManager.hpp"
|
||||
@ -44,6 +46,8 @@ bool WeatherMonitorCampaign::run()
|
||||
|
||||
log << "startup" << endl;
|
||||
|
||||
boost::timer t;
|
||||
|
||||
// load trace
|
||||
ifstream tracef(trace_filename);
|
||||
if (tracef.fail()) {
|
||||
@ -270,8 +274,9 @@ bool WeatherMonitorCampaign::run()
|
||||
}
|
||||
//delete res; // currently racy if jobs are reassigned
|
||||
}
|
||||
log << "done. sent " << count << " received " << rescount << endl;
|
||||
results.close();
|
||||
log << "done. sent " << count << " received " << rescount << endl;
|
||||
log << "elapsed: " << t.elapsed() << "s" << endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user