Move trace data function to .cc file.
--HG-- extra : convert_revision : 8180068747489978a2bbaa096dc73b0cfd14b052
This commit is contained in:
@@ -74,6 +74,15 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
template<typename T>
|
||||
void
|
||||
SimpleCPU::trace_data(T data) {
|
||||
if (traceData) {
|
||||
traceData->setData(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SimpleCPU::TickEvent::TickEvent(SimpleCPU *c)
|
||||
: Event(&mainEventQueue, CPU_Tick_Pri), cpu(c), multiplier(1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user