checksum-oostubs: not named CoolChecksum* anymore

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1041 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-04-10 19:35:35 +00:00
parent df752dcece
commit e7c1118231
6 changed files with 15 additions and 17 deletions

View File

@ -1,5 +1,5 @@
set(EXPERIMENT_NAME checksum-oostubs)
set(EXPERIMENT_TYPE CoolChecksumExperiment) # FIXME naming conflict
set(EXPERIMENT_TYPE ChecksumOOStuBSExperiment)
configure_file(../instantiate-experiment.ah.in
${CMAKE_CURRENT_BINARY_DIR}/instantiate-${EXPERIMENT_NAME}.ah @ONLY
)

View File

@ -65,9 +65,9 @@ const unsigned memoryMap[49][2] = {
bool CoolChecksumCampaign::run()
bool ChecksumOOStuBSCampaign::run()
{
Logger log("CoolChecksumCampaign");
Logger log("ChecksumOOStuBS Campaign");
ifstream test(results_csv);
if (test.is_open()) {

View File

@ -1,18 +1,17 @@
#ifndef __COOLCAMPAIGN_HPP__
#define __COOLCAMPAIGN_HPP__
#ifndef __CHECKSUM_OOSTUBS_CAMPAIGN_HPP__
#define __CHECKSUM_OOSTUBS_CAMPAIGN_HPP__
#include "controller/Campaign.hpp"
#include "controller/ExperimentData.hpp"
#include "checksum-oostubs.pb.h"
class CoolChecksumExperimentData : public fi::ExperimentData {
class ChecksumOOStuBSExperimentData : public fi::ExperimentData {
public:
OOStuBSProtoMsg msg;
CoolChecksumExperimentData() : fi::ExperimentData(&msg) {}
ChecksumOOStuBSExperimentData() : fi::ExperimentData(&msg) {}
};
class CoolChecksumCampaign : public fi::Campaign {
class ChecksumOOStuBSCampaign : public fi::Campaign {
public:
virtual bool run();
};

View File

@ -15,12 +15,11 @@
// you need to have the tracing plugin enabled for this
#include "plugins/tracing/TracingPlugin.hpp"
#include "checksum-oostubs.pb.h"
#include "ecc_region.hpp"
using std::endl;
bool CoolChecksumExperiment::run()
bool ChecksumOOStuBSExperiment::run()
{
char const *statename = "checksum-oostubs.state";
Logger log("Checksum-OOStuBS", false);
@ -113,7 +112,7 @@ bool CoolChecksumExperiment::run()
// get an experiment parameter set
log << "asking job server for experiment parameters" << endl;
CoolChecksumExperimentData param;
ChecksumOOStuBSExperimentData param;
/*
if (!m_jc.getParam(param)) {
log << "Dying." << endl;

View File

@ -1,13 +1,13 @@
#ifndef __COOLEXPERIMENT_HPP__
#define __COOLEXPERIMENT_HPP__
#ifndef __CHECKSUM_OOSTUBS_EXPERIMENT_HPP__
#define __CHECKSUM_OOSTUBS_EXPERIMENT_HPP__
#include "controller/ExperimentFlow.hpp"
#include "jobserver/JobClient.hpp"
class CoolChecksumExperiment : public fi::ExperimentFlow {
class ChecksumOOStuBSExperiment : public fi::ExperimentFlow {
fi::JobClient m_jc;
public:
CoolChecksumExperiment() : m_jc("ios.cs.tu-dortmund.de") {}
ChecksumOOStuBSExperiment() : m_jc("ios.cs.tu-dortmund.de") {}
bool run();
};

View File

@ -6,7 +6,7 @@
int main(int argc, char **argv)
{
CoolChecksumCampaign c;
ChecksumOOStuBSCampaign c;
if (fi::campaignmanager.runCampaign(&c)) {
return 0;
} else {