checksum-oostubs: traces aren't single protobuf messages
... therefore we shouldn't use the .pb file extension here. Simply rename your existing .pb to .tc for reuse. +defining LOCAL for experiment debugging (disabled) git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1415 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace fail;
|
using namespace fail;
|
||||||
|
|
||||||
char const * const trace_filename = "trace.pb";
|
char const * const trace_filename = "trace.tc";
|
||||||
char const * const results_filename = "chksumoostubs.csv";
|
char const * const results_filename = "chksumoostubs.csv";
|
||||||
|
|
||||||
// equivalence class type: addr, [i1, i2]
|
// equivalence class type: addr, [i1, i2]
|
||||||
|
|||||||
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
#include "ecc_region.hpp"
|
#include "ecc_region.hpp"
|
||||||
|
|
||||||
|
#define LOCAL 0
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace fail;
|
using namespace fail;
|
||||||
|
|
||||||
@ -73,7 +75,7 @@ bool ChecksumOOStuBSExperiment::run()
|
|||||||
tp.restrictMemoryAddresses(&mm);
|
tp.restrictMemoryAddresses(&mm);
|
||||||
|
|
||||||
// record trace
|
// record trace
|
||||||
char const *tracefile = "trace.pb";
|
char const *tracefile = "trace.tc";
|
||||||
ofstream of(tracefile);
|
ofstream of(tracefile);
|
||||||
tp.setTraceFile(&of);
|
tp.setTraceFile(&of);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user