Home
last modified time | relevance | path

Searched refs:itimer (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_signal.py390 self.itimer = None
395 if self.itimer is not None: # test_itimer_exc doesn't change this attr
397 signal.setitimer(self.itimer, 0)
439 self.itimer = signal.ITIMER_REAL
440 signal.setitimer(self.itimer, 1.0)
451 self.itimer = signal.ITIMER_VIRTUAL
453 signal.setitimer(self.itimer, 0.3, 0.2)
459 if signal.getitimer(self.itimer) == (0.0, 0.0):
466 self.assertEqual(signal.getitimer(self.itimer), (0.0, 0.0))
474 self.itimer = signal.ITIMER_PROF
[all …]
/external/autotest/client/tests/cyclictest/src/
Dcyclictest.c205 struct itimerval itimer; in timerthread() local
263 itimer.it_value.tv_sec = 1; in timerthread()
264 itimer.it_value.tv_usec = 0; in timerthread()
265 itimer.it_interval.tv_sec = interval.tv_sec; in timerthread()
266 itimer.it_interval.tv_usec = interval.tv_nsec / 1000; in timerthread()
267 setitimer (ITIMER_REAL, &itimer, NULL); in timerthread()
349 itimer.it_value.tv_sec = 0; in timerthread()
350 itimer.it_value.tv_usec = 0; in timerthread()
351 itimer.it_interval.tv_sec = 0; in timerthread()
352 itimer.it_interval.tv_usec = 0; in timerthread()
[all …]
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c845 struct itimerstruc_t itimer, old_itimer; local
857 itimer.it_interval.tv_nsec = 0;
858 itimer.it_interval.tv_sec = 0;
859 itimer.it_value.tv_nsec = 0;
860 itimer.it_value.tv_sec = (time_t) (TVAL * 60.0);
861 if (incinterval(timer, &itimer, &old_itimer) == -1) {
874 struct itimerval itimer; local
876 memset(&itimer, 0, sizeof(struct itimerval));
880 itimer.it_interval.tv_usec = 0;
881 itimer.it_interval.tv_sec = 0;
[all …]
/external/toolchain-utils/dejagnu/gdb_baseline/
Di686-pc-linux-gnu7582 PASS: gdb.base/sigstep.exp: set itimer = itimer_real
Dx86_64-cros-linux-gnu7817 PASS: gdb.base/sigstep.exp: set itimer = itimer_real
Darmv7a-cros-linux-gnueabi7435 FAIL: gdb.base/sigstep.exp: set itimer = itimer_real