Lines Matching defs:Timer

47 #include "debug/Timer.hh"
58 A9GlobalTimer::Timer::Timer(std::string __name, A9GlobalTimer *_parent,
72 if (daddr < Timer::Size)
82 A9GlobalTimer::Timer::getTimeCounterFromTicks(Tick ticks)
88 A9GlobalTimer::Timer::read(PacketPtr pkt, Addr daddr)
90 DPRINTF(Timer, "Reading from A9GlobalTimer at offset: %#x\n", daddr);
96 DPRINTF(Timer, "-- returning lower 32-bits of counter: %u\n", time);
102 DPRINTF(Timer, "-- returning upper 32-bits of counter: %u\n", time);
112 DPRINTF(Timer, "Event schedule for %d, clock=%d, prescale=%d\n",
119 DPRINTF(Timer, "-- returning lower 32-bits of comparator: %u\n", time);
123 DPRINTF(Timer, "Event schedule for %d, clock=%d, prescale=%d\n",
131 DPRINTF(Timer, "-- returning upper 32-bits of comparator: %u\n", time);
141 DPRINTF(Timer, "Reading %#x from A9GlobalTimer at offset: %#x\n",
151 DPRINTF(Timer, "Writing to A9GlobalTimer at offset: %#x\n", daddr);
153 warn_once("A9 Global Timer doesn't support banked per-cpu registers\n");
155 if (daddr < Timer::Size)
165 A9GlobalTimer::Timer::write(PacketPtr pkt, Addr daddr)
167 DPRINTF(Timer, "Writing %#x to A9GlobalTimer at offset: %#x\n",
172 DPRINTF(Timer, "Ignoring unsupported write to Global Timer Counter\n");
190 DPRINTF(Timer, "Clearing interrupt\n");
212 A9GlobalTimer::Timer::restartCounter()
216 DPRINTF(Timer, "Restarting counter with value %#x\n", cmpVal);
221 DPRINTF(Timer, "-- Event time %#x < curTick %#x\n", time, curTick());
225 DPRINTF(Timer, "-- Event was already schedule, de-scheduling\n");
229 DPRINTF(Timer, "-- Scheduling new event for: %d\n", time);
233 A9GlobalTimer::Timer::counterAtCmpVal()
238 DPRINTF(Timer, "Counter reached cmpVal\n");
245 DPRINTF(Timer, "-- Causing interrupt\n");
257 A9GlobalTimer::Timer::serialize(CheckpointOut &cp) const
280 A9GlobalTimer::Timer::unserialize(CheckpointIn &cp)