HomeSort by relevance Sort by last modified time
    Searched refs:ntime (Results 1 - 7 of 7) sorted by null

  /system/core/toolbox/upstream-netbsd/bin/sleep/
sleep.c 72 struct timespec ntime; local
116 ntime.tv_sec = ival;
117 ntime.tv_nsec = fval;
120 ntime.tv_sec = atol(arg);
121 if (ntime.tv_sec <= 0)
123 ntime.tv_nsec = 0;
126 original = ntime.tv_sec;
128 while ((rv = nanosleep(&ntime, &ntime)) != 0) {
132 (int)ntime.tv_sec, (int)original)
    [all...]
  /system/extras/cpustats/
cpustats.c 44 long unsigned utime, ntime, stime, itime, iowtime, irqtime, sirqtime; member in struct:cpu_info
241 &new_total_cpu.utime, &new_total_cpu.ntime, &new_total_cpu.stime, &new_total_cpu.itime,
251 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime,
285 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime +
319 new_cpu->ntime - old_cpu->ntime,
332 new_cpu->ntime - old_cpu->ntime,
  /system/core/toolbox/
top.c 45 long unsigned utime, ntime, stime, itime; member in struct:cpu_info
246 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &new_cpu.utime, &new_cpu.ntime, &new_cpu.stime,
432 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime
434 - (old_cpu.utime + old_cpu.ntime + old_cpu.stime + old_cpu.itime
441 ((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 / total_delta_time,
448 new_cpu.ntime - old_cpu.ntime,
  /external/qemu/slirp/
ip_input.c 511 n_time ntime; local
671 ntime = iptime();
672 bcopy((caddr_t)&ntime, (caddr_t)cp + ipt->ipt_ptr - 1,
  /external/qemu/slirp-android/
ip_input.c 511 n_time ntime; local
671 ntime = iptime();
672 bcopy((caddr_t)&ntime, (caddr_t)cp + ipt->ipt_ptr - 1,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py 2 topics = {'assert': '\nThe ``assert`` statement\n************************\n\nAssert statements are a convenient way to insert debugging assertions\ninto a program:\n\n assert_stmt ::= "assert" expression ["," expression]\n\nThe simple form, ``assert expression``, is equivalent to\n\n if __debug__:\n if not expression: raise AssertionError\n\nThe extended form, ``assert expression1, expression2``, is equivalent\nto\n\n if __debug__:\n if not expression1: raise AssertionError(expression2)\n\nThese equivalences assume that ``__debug__`` and ``AssertionError``\nrefer to the built-in variables with those names. In the current\nimplementation, the built-in variable ``__debug__`` is ``True`` under\nnormal circumstances, ``False`` when optimization is requested\n(command line option -O). The current code generator emits no code\nfor an assert statement when optimization is requested at compile\ntime. Note that it is unnecessary to include the source code for the\nexpression that failed in the error message; it will be displayed as\npart of the stack trace.\n\nAssignments to ``__debug__`` are illegal. The value for the built-in\nvariable is determined when the interpreter starts.\n',
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py 2 topics = {'assert': '\nThe ``assert`` statement\n************************\n\nAssert statements are a convenient way to insert debugging assertions\ninto a program:\n\n assert_stmt ::= "assert" expression ["," expression]\n\nThe simple form, ``assert expression``, is equivalent to\n\n if __debug__:\n if not expression: raise AssertionError\n\nThe extended form, ``assert expression1, expression2``, is equivalent\nto\n\n if __debug__:\n if not expression1: raise AssertionError(expression2)\n\nThese equivalences assume that ``__debug__`` and ``AssertionError``\nrefer to the built-in variables with those names. In the current\nimplementation, the built-in variable ``__debug__`` is ``True`` under\nnormal circumstances, ``False`` when optimization is requested\n(command line option -O). The current code generator emits no code\nfor an assert statement when optimization is requested at compile\ntime. Note that it is unnecessary to include the source code for the\nexpression that failed in the error message; it will be displayed as\npart of the stack trace.\n\nAssignments to ``__debug__`` are illegal. The value for the built-in\nvariable is determined when the interpreter starts.\n',
    [all...]

Completed in 112 milliseconds