BasicImporter is renamed to MemoryImporter. An alias for BasicImporter in the cmdline interface will remain. The MemoryImporter does now only handle memory and IP events. The simulation time, dynamic instruction count and handling of open ECs is moved to Importer. Change-Id: I04eb0fd4b52fbf5b0ca9ab97778a62130cb626ee
18 lines
412 B
C++
18 lines
412 B
C++
#ifndef __MEMORY_IMPORTER_H__
|
|
#define __MEMORY_IMPORTER_H__
|
|
|
|
#include "Importer.hpp"
|
|
#include "util/CommandLine.hpp"
|
|
|
|
class MemoryImporter : public Importer {
|
|
|
|
public:
|
|
|
|
virtual bool handle_ip_event(fail::simtime_t curtime, instruction_count_t instr,
|
|
const Trace_Event &ev);
|
|
virtual bool handle_mem_event(fail::simtime_t curtime, instruction_count_t instr,
|
|
const Trace_Event &ev);
|
|
};
|
|
|
|
#endif
|