HomeSort by relevance Sort by last modified time
    Searched refs:idle (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/chromium_org/extensions/browser/api/system_cpu/
cpu_info_provider_linux.cc 50 uint64 user = 0, nice = 0, sys = 0, idle = 0; local
59 &idle);
67 infos->at(pindex)->usage.idle = static_cast<double>(idle);
69 static_cast<double>(sys + user + nice + idle);
cpu_info_provider_mac.cc 37 idle = static_cast<double>(cpu_infos[i].cpu_ticks[CPU_STATE_IDLE]); local
41 infos->at(i)->usage.idle = idle;
42 infos->at(i)->usage.total = sys + user + nice + idle;
cpu_info_provider_win.cc 63 idle = static_cast<double>(processor_info[i].IdleTime.QuadPart); local
65 // KernelTime needs to be fixed-up, because it includes both idle time and
67 infos->at(i)->usage.kernel = kernel - idle;
69 infos->at(i)->usage.idle = idle;
  /external/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/
history.js 30 // because the API currently doesn't fire idle messages, and we'd
31 // like to keep track of last time we went idle.
39 threshold = parseInt(document.querySelector('#idle-threshold').value);
40 var dom_threshold = document.querySelector('#idle-set-threshold');
44 chrome.idle.queryState(threshold, function(state) {
52 var dom_result = document.querySelector('#idle-state');
54 var dom_laststate = document.querySelector('#idle-laststate');
59 var dom_history = document.querySelector('#idle-history');
63 * of "active" states. No events are fired upon idle.
76 // Check every second (even though this is overkill - minimum idle
    [all...]
background.js 10 chrome.idle.onStateChanged.addListener(function(newstate) {
  /external/netperf/
netcpu_pstatnew.c 42 uint64_t idle; member in struct:cpu_time_counters
55 idle. The rate at which this increments during a test is compared
84 /* get the idle sycle counter for each processor. now while on a
104 res[i].idle = (((uint64_t)psp[i].psp_idlecycles.psc_hi << 32) +
110 res[i].idle);
161 "\t idle %llu\n",counters[instance].idle);
227 thing in measuring user, kernel, interrupt and idle all together
231 properly accounted. The sum of user, kernel, interrupt and idle
237 idle cycles is sufficiently accurate. So, while we will still d
    [all...]
netcpu_kstat10.c 45 uint64_t idle; member in struct:cpu_time_counters
61 "\t idle %llu\n",counters[instance].idle);
144 counters[cpu_num].idle = knp->value.ui64;
294 counters is not going to use a comparison to an idle rate. so, the
352 spent in user, idle and kernel. We also have nanoseconds spent
356 idle will also include time spent in interrupt. for netperf's
358 but we certainly do care for idle. the $64B question becomes -
361 we could just subtract interrupt time from idle. that has the
366 time from each of user, kernel and idle in proportion to thei
    [all...]
netcpu_perfstat.c 43 idle. The rate at which this increments during a test is compared
107 res[i] = per_cpu_pointer->idle;
189 firstcnt[j] = per_cpu_pointer->idle;
231 secondcnt[j] = per_cpu_pointer->idle;
  /development/ndk/platforms/android-3/include/linux/
kernel_stat.h 28 cputime64_t idle; member in struct:cpu_usage_stat
  /external/chromium_org/chrome/browser/
idle_query_x11.cc 44 return (idle_data_->mit_info->idle) / 1000;
  /bionic/libc/kernel/uapi/linux/
ax25.h 106 unsigned int idle, idletimer; member in struct:ax25_info_struct_deprecated
117 unsigned int idle, idletimer; member in struct:ax25_info_struct
  /development/ndk/platforms/android-L/include/linux/
ax25.h 106 unsigned int idle, idletimer; member in struct:ax25_info_struct_deprecated
117 unsigned int idle, idletimer; member in struct:ax25_info_struct
  /external/kernel-headers/original/uapi/linux/
ax25.h 93 unsigned int idle, idletimer; member in struct:ax25_info_struct_deprecated
103 unsigned int idle, idletimer; member in struct:ax25_info_struct
  /external/iputils/Modules/
pg3.c 195 u32 idle_start, idle; local
201 idle = get_cycles() - idle_start;
202 if (idle*1000 >= pg_ipg*pg_cpu_speed)
205 idle_acc_lo += idle;
206 if (idle_acc_lo < idle)
347 u32 total, idle; local
389 u32 idle_start, idle; local
397 idle = get_cycles() - idle_start;
398 idle_acc_lo += idle;
399 if (idle_acc_lo < idle)
406 u32 idle_start, idle; local
    [all...]
  /development/samples/ToyVpn/server/linux/
ToyVpnServer.cpp 217 bool idle = true; local
226 idle = false;
247 idle = false;
255 // If we are idle or waiting for the network, sleep for a
257 if (idle) {
  /external/chromium_org/chrome/browser/extensions/api/system_cpu/
system_cpu_apitest.cc 30 info_.processors[0]->usage.idle = 3;
  /external/chromium_org/third_party/sqlite/src/test/
async.test 52 sqlite3async_control halt idle
async2.test 72 sqlite3async_control halt idle
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnService.java 175 boolean idle = true;
186 idle = false;
205 idle = false;
213 // If we are idle or waiting for the network, sleep for a
215 if (idle) {
  /external/chromium_org/chrome/browser/extensions/api/idle/
idle_manager.cc 5 #include "chrome/browser/extensions/api/idle/idle_manager.h"
10 #include "chrome/browser/extensions/api/idle/idle_api_constants.h"
12 #include "chrome/common/extensions/api/idle.h"
19 namespace idle = extensions::api::idle;
53 scoped_ptr<Event> event(new Event(idle::OnStateChanged::kEventName,
63 ->RegisterObserver(observer, idle::OnStateChanged::kEventName);
idle_api_unittest.cc 5 #include "chrome/browser/extensions/api/idle/idle_api.h"
12 #include "chrome/browser/extensions/api/idle/idle_api_constants.h"
13 #include "chrome/browser/extensions/api/idle/idle_manager.h"
14 #include "chrome/browser/extensions/api/idle/idle_manager_factory.h"
16 #include "chrome/common/extensions/api/idle.h"
27 namespace idle = extensions::api::idle;
111 idle::OnStateChanged::kEventName, extension_id_, GURL(), NULL);
117 idle::OnStateChanged::kEventName, extension_id_, GURL(), NULL);
167 // Verifies that "locked" takes priority over "idle"
    [all...]
  /external/chromium_org/third_party/webrtc/base/
cpumonitor.cc 56 // The time can be treated as user, kernel or idle.
60 // idle time is a process that wastes time when nothing is ready to run.
189 // kernel_time includes Kernel idle time, so no need to
261 unsigned long long idle; local
264 &system, &idle) != 4) {
269 const uint64 total_times = cpu_times + idle;
  /bionic/libc/upstream-netbsd/lib/libc/isc/
ev_timers.c 497 struct timespec idle; local
502 idle = evSubTime(ctx->lastEventTime, this->lastTouched);
503 if (evCmpTime(idle, this->max_idle) >= 0) {
514 this->timer->inter = evSubTime(this->max_idle, idle);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
parse-events.l 130 stalled-cycles-frontend|idle-cycles-frontend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_STALLED_CYCLES_FRONTEND); }
131 stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_STALLED_CYCLES_BACKEND); }
  /external/chromium_org/components/web_cache/browser/
web_cache_manager.cc 424 TimeDelta idle = Time::Now() - elmt->second.access; local
425 if (idle >= TimeDelta::FromMinutes(kRendererInactiveThresholdMinutes)) {

Completed in 1070 milliseconds

1 2 3