ecos: store traceinfo.txt in correct location
This commit completes the change introduced in commit
59e5fd3169.
Change-Id: I0a6ab7b35fbb69cbb8ef91e187b0d0bc32d01071
This commit is contained in:
@ -43,10 +43,11 @@ bool EcosKernelTestCampaign::readMemoryMap(fail::MemoryMap &mm, char const * con
|
||||
return (count > 0);
|
||||
}
|
||||
|
||||
bool EcosKernelTestCampaign::writeTraceInfo(unsigned instr_counter, unsigned timeout, unsigned lowest_addr, unsigned highest_addr) {
|
||||
ofstream ti(filename_traceinfo().c_str(), ios::out);
|
||||
bool EcosKernelTestCampaign::writeTraceInfo(unsigned instr_counter, unsigned timeout, unsigned lowest_addr, unsigned highest_addr,
|
||||
const std::string& variant, const std::string& benchmark) {
|
||||
ofstream ti(filename_traceinfo(variant, benchmark).c_str(), ios::out);
|
||||
if (!ti.is_open()) {
|
||||
cout << "failed to open " << filename_traceinfo() << endl;
|
||||
cout << "failed to open " << filename_traceinfo(variant, benchmark) << endl;
|
||||
return false;
|
||||
}
|
||||
ti << instr_counter << endl << timeout << endl << lowest_addr << endl << highest_addr << endl;
|
||||
|
||||
Reference in New Issue
Block a user