77,80c77
< class TickEvent : public Event
< {
< private:
< GarnetSyntheticTraffic *cpu;
---
> EventFunctionWrapper tickEvent;
82,92d78
< public:
< TickEvent(GarnetSyntheticTraffic *c) : Event(CPU_Tick_Pri), cpu(c) {}
< void process() { cpu->tick(); }
< virtual const char *description() const
< {
< return "GarnetSyntheticTraffic tick";
< }
< };
<
< TickEvent tickEvent;
<
163,165d148
<
<
<