/gem5/src/dev/x86/ |
H A D | speaker.hh | 51 Bitfield<5> timer; member in class:X86ISA::Speaker 56 I8254 * timer; member in class:X86ISA::Speaker 68 latency(p->pio_latency), controlVal(0), timer(p->i8254)
|
H A D | speaker.cc | 45 controlVal.timer = timer->outputHigh(2) ? 1 : 0; 50 controlVal.timer ? "on" : "off"); 63 //Change the gate value in the timer. 67 //This would control whether the timer output is hooked up to a physical
|
H A D | pc.cc | 66 * Initialize the timer. 68 I8254 & timer = *southBridge->pit; local 70 timer.writeControl(0x34); 72 timer.writeControl(0x00); 74 timer.writeCounter(0, 0); 75 timer.writeCounter(0, 0);
|
/gem5/tests/testing/ |
H A D | helpers.py | 75 timer = Timer(timeout, on_timeout) 78 timer.cancel() 96 timer = Timer(timeout, on_timeout) 98 timer.start() 103 timer.cancel()
|
/gem5/src/cpu/kvm/ |
H A D | timer.cc | 40 #include "cpu/kvm/timer.hh" 54 * to specify which thread a timer signal gets delivered to. According 90 while (timer_create(clockID, &sev, &timer) == -1) { 98 timer_delete(timer); 114 DPRINTF(KvmTimer, "Arming POSIX timer: %i ticks (%is%ins)\n", 117 if (timer_settime(timer, 0, &ts, NULL) == -1) 118 panic("PosixKvmTimer: Failed to arm timer\n"); 127 DPRINTF(KvmTimer, "Disarming POSIX timer\n"); 129 if (timer_settime(timer, 0, &ts, NULL) == -1) 130 panic("PosixKvmTimer: Failed to disarm timer\ [all...] |
H A D | timer.hh | 50 * simulation ticks. The timer allows scaling of the host time to take 58 * When the timer times out, it sends a signal to the thread that 59 * started the timer. The signal forces KVM to drop out of the system 66 * Setup basic timer functionality shared by all timer 79 * Arm the timer so that it fires after a certain number of ticks. 81 * @note A timer implementation is free to convert between 83 * chooses. The accuracy of the timer therefore depends on what it 84 * measures, an accurate timer implementation should measure the 88 * @param ticks Number of ticks until the timer fire 204 timer_t timer; member in class:PosixKvmTimer [all...] |
/gem5/src/systemc/tests/systemc/kernel/phase_callbacks/test05/ |
H A D | simulation_callbacks.cpp | 232 rusage_timer timer; local 237 std::cout << timer.to_seconds() << std::endl;
|
/gem5/ext/drampower/src/ |
H A D | CmdScheduler.cc | 202 int64_t timer = 0; local 231 timer = transTrace[t].timeStamp; 246 pdScheduling(endTime, timer, memSpec); 248 pdScheduling(endTime, min(timer, tREF), memSpec); 253 if (((transFinish.time >= tREF) || (timer >= tREF))) { 254 for (int64_t i = 0; i <= ((timer - tComing_REF) > 0 ? (timer - tComing_REF) / 266 pdScheduling(endTime, min(timer, tREF), memSpec); 321 cmd.time = max(cmd.time, timer); 450 void cmdScheduler::pdScheduling(int64_t endTime, int64_t timer, argument [all...] |
H A D | CmdScheduler.h | 132 int64_t timer,
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-death-test_test.cc | 376 // Sets SIGPROF action and ITIMER_PROF timer (interval: 1ms). 378 struct itimerval timer; local 379 timer.it_interval.tv_sec = 0; 380 timer.it_interval.tv_usec = 1; 381 timer.it_value = timer.it_interval; 382 ASSERT_EQ(0, setitimer(ITIMER_PROF, &timer, NULL)); 391 // Disables ITIMER_PROF timer and ignores SIGPROF signal. 393 struct itimerval timer; local 394 timer [all...] |
/gem5/src/systemc/tests/systemc/misc/gnats/pr-503/ |
H A D | pr-503.cpp | 92 sc_int<8> timer; local 132 timer = 0; 628 // Set the timer accordingly and wait 629 timer = dtemp.range(7,0); 631 while(timer) { 632 timer = (timer) - 1;
|
/gem5/src/systemc/tests/systemc/misc/gnats/pr-503-neg/ |
H A D | pr-503-neg.cpp | 92 sc_int<8> timer; local 132 timer = 0; 628 // Set the timer accordingly and wait 629 timer = dtemp.range(7,0); 631 while(timer) { 632 timer = (timer) - 1;
|
/gem5/src/arch/arm/ |
H A D | isa.cc | 2097 // to access the timer. 2098 if (timer) 2099 return *timer.get(); 2104 panic("Trying to get a generic timer from a system that hasn't " 2105 "been configured to use a generic timer.\n"); 2108 timer.reset(new GenericTimerISA(*generic_timer, tc->contextId())); 2109 timer->setThreadContext(tc); 2111 return *timer.get();
|
H A D | isa.hh | 82 // Generic timer interface belonging to this ISA 83 std::unique_ptr<BaseISADevice> timer; member in class:ArmISA::ISA
|