Searched refs:Timer (Results 1 - 13 of 13) sorted by relevance

/gem5/src/dev/arm/
H A Dtimer_a9global.cc47 #include "debug/Timer.hh"
58 A9GlobalTimer::Timer::Timer(std::string __name, A9GlobalTimer *_parent, function in class:A9GlobalTimer::Timer
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, "Even
[all...]
H A Dtimer_sp804.cc45 #include "debug/Timer.hh"
57 Sp804::Timer::Timer(std::string __name, Sp804 *_parent, int int_num, Tick _clock) function in class:Sp804::Timer
71 DPRINTF(Timer, "Reading from DualTimer at offset: %#x\n", daddr);
73 if (daddr < Timer::Size)
75 else if ((daddr - Timer::Size) < Timer::Size)
76 timer1.read(pkt, daddr - Timer::Size);
85 Sp804::Timer::read(PacketPtr pkt, Addr daddr)
92 DPRINTF(Timer, "Even
[all...]
H A Dtimer_cpulocal.cc47 #include "debug/Timer.hh"
68 new Timer(oss.str(), this,
76 CpuLocalTimer::Timer::Timer(const std::string &timer_name, function in class:CpuLocalTimer::Timer
98 DPRINTF(Timer, "Reading from CpuLocalTimer at offset: %#x\n", daddr);
102 if (daddr < Timer::Size)
112 CpuLocalTimer::Timer::read(PacketPtr pkt, Addr daddr)
114 DPRINTF(Timer, "Reading from CpuLocalTimer at offset: %#x\n", daddr);
122 DPRINTF(Timer, "Event schedule for timer %d, clock=%d, prescale=%d\n",
128 DPRINTF(Timer, "
[all...]
H A Dtimer_a9global.hh58 class Timer : public Serializable class in class:A9GlobalTimer
117 EventWrapper<Timer, &Timer::counterAtCmpVal> cmpValEvent;
127 Timer(std::string __name, A9GlobalTimer *parent, int int_num);
144 /** Timer that does the actual work */
145 Timer global_timer;
H A Dtimer_sp804.hh55 class Timer : public Serializable class in class:Sp804
114 Timer(std::string __name, Sp804 *parent, int int_num, Tick clock);
132 Timer timer0;
133 Timer timer1;
H A Drtc_pl031.cc46 #include "debug/Timer.hh"
68 DPRINTF(Timer, "Reading from RTC at offset: %#x\n", daddr);
128 DPRINTF(Timer, "Writing to RTC at offset: %#x\n", daddr);
168 DPRINTF(Timer, "Setting up new match event match=%d time=%d\n", matchVal,
175 DPRINTF(Timer, "-- Event was already schedule, de-scheduling\n");
179 DPRINTF(Timer, "-- Scheduling new event for: %d\n", curTick() + ticks_until);
185 DPRINTF(Timer, "Counter reached zero\n");
191 DPRINTF(Timer, "-- Causing interrupt\n");
H A Dtimer_cpulocal.hh59 class Timer : public Serializable class in class:CpuLocalTimer
115 /** If an interrupt is currently pending. Logical and of Timer or
136 Timer(const std::string &name,
159 std::vector<std::unique_ptr<Timer>> localTimer;
H A Dgeneric_timer.cc44 #include "debug/Timer.hh"
113 DPRINTF(Timer, "Counter limit reached\n");
116 DPRINTF(Timer, "Causing interrupt\n");
119 DPRINTF(Timer, "Kvm mode; skipping simulated interrupt\n");
164 DPRINTF(Timer, "Causing interrupt in control\n");
513 DPRINTF(Timer, "Setting %s := 0x%x\n", miscRegName[reg], val);
521 DPRINTF(Timer, "Reading %s as 0x%x\n", miscRegName[reg], value);
583 DPRINTF(Timer, "Read 0x%x <- 0x%x(%i)\n", value, addr, size);
607 DPRINTF(Timer, "Write 0x%x -> 0x%x(%i)\n", value, addr, size);
/gem5/tests/testing/
H A Dhelpers.py43 from threading import Timer
75 timer = Timer(timeout, on_timeout)
96 timer = Timer(timeout, on_timeout)
/gem5/src/arch/sparc/
H A Dua2005.cc38 #include "debug/Timer.hh"
120 DPRINTF(Timer, "writing to TICK compare register value %#X\n", val);
136 DPRINTF(Timer, "writing to sTICK compare register value %#X\n", val);
207 DPRINTF(Timer, "writing to hsTICK compare register value %#X\n", val);
340 DPRINTF(Timer, "STick compare cycle reached at %#x\n",
367 DPRINTF(Timer, "HSTick compare cycle reached at %#x\n",
H A Disa.cc40 #include "debug/Timer.hh"
349 DPRINTF(Timer, "Instruction Count when TICK read: %#X stick=%#X\n",
581 DPRINTF(Timer, "Writing TICK=%#X\n", val);
/gem5/ext/testlib/
H A Dhelper.py440 class Timer(): class in inherits:
H A Dhandlers.py205 self._timer = helper.Timer()

Completed in 21 milliseconds