Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/third_party/node/test/parallel/
Dtest-performance-eventlooputil.js18 assert.deepStrictEqual(elu, { idle: 0, active: 0, utilization: 0 }); property
20 { idle: 0, active: 0, utilization: 0 }); property
22 { idle: 0, active: 0, utilization: 0 }); property
36 if (elu1.idle <= 0)
46 assert.strictEqual(elu2.idle, 0);
47 assert.strictEqual(elu4.idle, 0);
62 const sum = elu1.idle + elu1.active;
64 assert.ok(sum >= elu1.idle && sum >= elu1.active,
65 `idle: ${elu1.idle} active: ${elu1.active} sum: ${sum}`);
66 assert.strictEqual(elu1.idle, idleTime);
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dimage_stream_test.dart89 await tester.idle();
103 await tester.idle();
108 await tester.idle();
123 await tester.idle();
127 await tester.idle();
149 await tester.idle();
169 await tester.idle();
177 await tester.idle();
202 await tester.idle();
227 await tester.idle();
[all …]
/third_party/libuv/docs/src/
Dmetrics.rst8 spent idle in the kernel's event provider.
15 Retrieve the amount of time the event loop has been idle in the kernel's
18 The return value is the accumulated time spent idle in the kernel's event
20 collect the idle time.
23 The event loop will not begin accumulating the event provider's idle
Didle.rst11 The notable difference with prepare handles is that when there are active idle handles,
15 Despite the name, idle handles will get their callbacks called on every loop iteration,
16 not when the loop is actually "idle".
42 .. c:function:: int uv_idle_init(uv_loop_t* loop, uv_idle_t* idle)
48 .. c:function:: int uv_idle_start(uv_idle_t* idle, uv_idle_cb cb)
55 .. c:function:: int uv_idle_stop(uv_idle_t* idle)
/third_party/node/lib/internal/
Dworker.js463 return { idle: 0, active: 0, utilization: 0 };
470 return { idle: 0, active: 0, utilization: 0 };
474 const idle = util1.idle - util2.idle;
476 return { idle, active, utilization: active / (idle + active) };
479 const idle = this[kHandle].loopIdleTime();
485 const active = now() - this[kLoopStartTime] - idle;
488 return { idle, active, utilization: active / (idle + active) };
491 const idle_delta = idle - util1.idle;
494 return { idle: idle_delta, active: active_delta, utilization };
/third_party/grpc/src/cpp/server/load_reporter/
Dget_cpu_stats_linux.cc34 uint64_t user, nice, system, idle; in GetCpuStatsImpl() local
35 if (fscanf(fp, "cpu %lu %lu %lu %lu", &user, &nice, &system, &idle) != 4) { in GetCpuStatsImpl()
37 user = nice = system = idle = 0; in GetCpuStatsImpl()
41 total = busy + idle; in GetCpuStatsImpl()
Dget_cpu_stats_windows.cc44 FILETIME idle, kernel, user; in GetCpuStatsImpl() local
45 if (GetSystemTimes(&idle, &kernel, &user) != 0) { in GetCpuStatsImpl()
47 busy = total - FiletimeToInt(idle); in GetCpuStatsImpl()
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_field_focus_test.dart46 await tester.idle();
73 await tester.idle();
120 await tester.idle();
129 await tester.idle();
230 await tester.idle();
271 await tester.idle();
278 await tester.idle();
282 await tester.idle();
286 await tester.idle();
293 await tester.idle();
[all …]
/third_party/node/lib/
Dperf_hooks.js505 return { idle: 0, active: 0, utilization: 0 };
509 const idle = util1.idle - util2.idle;
511 return { idle, active, utilization: active / (idle + active) };
514 const idle = nodeTiming.idleTime;
515 const active = performance.now() - ls - idle;
518 return { idle, active, utilization: active / (idle + active) };
521 const idle_delta = idle - util1.idle;
524 return { idle: idle_delta, active: active_delta, utilization };
/third_party/libuv/test/
Dtest-tcp-oob.c34 static uv_idle_t idle; variable
47 static void idle_cb(uv_idle_t* idle) { in idle_cb() argument
54 uv_close((uv_handle_t*) idle, NULL); in idle_cb()
66 ASSERT(0 == uv_idle_start(&idle, idle_cb)); in read_cb()
123 ASSERT(0 == uv_idle_init(loop, &idle)); in TEST_IMPL()
Dtest-poll-oob.c37 static uv_idle_t idle; variable
55 static void idle_cb(uv_idle_t* idle) { in idle_cb() argument
65 uv_close((uv_handle_t*) idle, NULL); in idle_cb()
159 ASSERT(0 == uv_idle_start(&idle, idle_cb)); in connection_cb()
174 ASSERT(0 == uv_idle_init(loop, &idle)); in TEST_IMPL()
Dtest-callback-order.c61 uv_idle_t idle; in TEST_IMPL() local
64 uv_idle_init(loop, &idle); in TEST_IMPL()
65 uv_idle_start(&idle, next_tick); in TEST_IMPL()
Dtest-handle-fileno.c55 uv_idle_t idle; in TEST_IMPL() local
61 r = uv_idle_init(loop, &idle); in TEST_IMPL()
63 r = uv_fileno((uv_handle_t*) &idle, &fd); in TEST_IMPL()
65 uv_close((uv_handle_t*) &idle, NULL); in TEST_IMPL()
/third_party/node/test/node-api/test_uv_loop/
Dtest_uv_loop.cc30 uv_idle_t* idle = new uv_idle_t; in SetImmediate() local
31 uv_idle_init(loop, idle); in SetImmediate()
32 uv_idle_start(idle, [](uv_idle_t* idle) { in SetImmediate() argument
33 uv_close(reinterpret_cast<uv_handle_t*>(idle), [](uv_handle_t* handle) { in SetImmediate()
/third_party/node/test/sequential/
Dtest-worker-eventlooputil.js51 if (eventLoopUtilization().idle <= 0)
67 { idle: 0, active: 0, utilization: 0 }); property
90 assert.ok(wElu.idle >= 25, `${wElu.idle} < 25`);
113 return elu.idle + elu.active;
/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c76 if (lws_gs_valid(pt_to_priv_glib(pt)->idle)) in lws_glib_set_idle()
79 pt_to_priv_glib(pt)->idle.gs = g_idle_source_new(); in lws_glib_set_idle()
80 if (!pt_to_priv_glib(pt)->idle.gs) in lws_glib_set_idle()
83 g_source_set_callback(pt_to_priv_glib(pt)->idle.gs, in lws_glib_set_idle()
85 pt_to_priv_glib(pt)->idle.tag = g_source_attach( in lws_glib_set_idle()
86 pt_to_priv_glib(pt)->idle.gs, pt_to_g_main_context(pt)); in lws_glib_set_idle()
144 if (!lws_gs_valid(pt_to_priv_glib(pt)->idle)) in lws_glib_dispatch()
226 lws_gs_destroy(pt_to_priv_glib(pt)->idle); in lws_glib_idle_timer_cb()
443 lws_gs_destroy(ptpr->idle); in elops_destroy_pt_glib()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c79 p_atomic_inc(&counters->named.field.idle); \
169 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter() local
171 return busy | ((uint64_t)idle << 32); in r600_read_mmio_counter()
179 unsigned idle = (end >> 32) - (begin >> 32); in r600_end_mmio_counter() local
187 if (idle || busy) { in r600_end_mmio_counter()
188 return busy*100 / (busy + idle); in r600_end_mmio_counter()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Draw_keyboard_listener_test.dart41 await tester.idle();
50 await tester.idle();
79 await tester.idle();
88 await tester.idle();
103 await tester.idle();
/third_party/python/PCbuild/
Didle.bat2 rem start idle
3 rem Usage: idle [-d]
16 set cmd=%exedir%\%exe% %PCBUILD%\..\Lib\idlelib\idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gpu_load.c77 p_atomic_inc(&counters->named.field.idle); \
182 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in si_read_mmio_counter() local
184 return busy | ((uint64_t)idle << 32); in si_read_mmio_counter()
191 unsigned idle = (end >> 32) - (begin >> 32); in si_end_mmio_counter() local
199 if (idle || busy) { in si_end_mmio_counter()
200 return busy * 100 / (busy + idle); in si_end_mmio_counter()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dcamerabin.c983 gboolean idle = FALSE; in wait_for_idle_state() local
986 while (idle == FALSE) { in wait_for_idle_state()
987 g_object_get (camera, "idle", &idle, NULL); in wait_for_idle_state()
988 if (idle) in wait_for_idle_state()
994 fail_unless (idle); in wait_for_idle_state()
1000 gboolean idle; in run_single_image_capture_test() local
1022 g_object_get (camera, "idle", &idle, NULL); in run_single_image_capture_test()
1023 fail_unless (idle); in run_single_image_capture_test()
1065 gboolean idle; in GST_START_TEST() local
1084 g_object_get (camera, "idle", &idle, NULL); in GST_START_TEST()
[all …]
/third_party/libcoap/man/
Dcoap_context.txt.in85 idle server sessions to _max_idle_sessions_ for _context_. If this number is
87 initial default) means that the number of idle sessions is not monitored.
90 of idle server sessions for _context_.
102 inactivity to _session_timeout_ for _context_ before an idle server session is
106 before timing out an idle server session for _context_.
120 *coap_context_get_max_idle_sessions*() returns the maximum number of idle
127 out an idle server session.
/third_party/e2fsprogs/scrub/
De2scrub@.service.in16 IOSchedulingClass=idle
17 CPUSchedulingPolicy=idle
De2scrub_reap.service.in17 IOSchedulingClass=idle
18 CPUSchedulingPolicy=idle
/third_party/python/Lib/idlelib/Icons/
DREADME.txt11 The idle.ico file was created with ImageMagick:
13 $ convert idle_16.png idle_32.png idle_48.png idle_256.png idle.ico

12345678910>>...16