Home
last modified time | relevance | path

Searched refs:idle (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/node/test/parallel/
H A Dtest-performance-eventlooputil.js18 assert.deepStrictEqual(elu, { idle: 0, active: 0, utilization: 0 });
20 { idle: 0, active: 0, utilization: 0 });
22 { idle: 0, active: 0, utilization: 0 });
35 // Force idle time to accumulate before allowing test to continue.
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
[all...]
/third_party/node/lib/internal/perf/
H A Devent_loop_utilization.js11 return { idle: 0, active: 0, utilization: 0 };
15 const idle = util1.idle - util2.idle;
17 return { idle, active, utilization: active / (idle + active) };
20 const idle = nodeTiming.idleTime;
21 const active = now() - ls - idle;
24 return { idle, active, utilization: active / (idle
[all...]
/third_party/libuv/src/unix/
H A Dtcp.c456 int idle; in uv__tcp_keepalive() local
460 (void) &idle; in uv__tcp_keepalive()
479 * - By default, the first keep-alive probe is sent out after a TCP connection is idle for two hours. in uv__tcp_keepalive()
496 idle = delay; in uv__tcp_keepalive()
498 if (idle < 10) in uv__tcp_keepalive()
499 idle = 10; in uv__tcp_keepalive()
501 if (idle > 10*24*60*60) in uv__tcp_keepalive()
502 idle = 10*24*60*60; in uv__tcp_keepalive()
507 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &idle, sizeof(idle))) in uv__tcp_keepalive()
[all...]
/third_party/node/lib/internal/
H A Dworker.js503 return { idle: 0, active: 0, utilization: 0 };
510 return { idle: 0, active: 0, utilization: 0 };
514 const idle = util1.idle - util2.idle;
516 return { idle, active, utilization: active / (idle + active) };
519 const idle = this[kHandle].loopIdleTime();
525 const active = now() - this[kLoopStartTime] - idle;
528 return { idle, activ
[all...]
/third_party/libuv/test/
H A 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_OK(uv_idle_start(&idle, idle_cb)); in read_cb()
123 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
H A 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()
163 ASSERT_OK(uv_idle_start(&idle, idle_cb)); in connection_cb()
178 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
H A 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()
H A Dtest-queue-foreach-delete.c122 DEFINE_GLOBALS_AND_CBS(idle, uv_idle_t* handle)
176 INIT_AND_START(idle, loop); in TEST_IMPL()
194 END_ASSERTS(idle); in TEST_IMPL()
/third_party/node/test/node-api/test_uv_loop/
H A 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()
33 uv_close(reinterpret_cast<uv_handle_t*>(idle), [](uv_handle_t* handle) { in SetImmediate()
/third_party/node/test/sequential/
H A Dtest-worker-eventlooputil.js50 // Force some idle time to accumulate before proceeding with test.
51 if (eventLoopUtilization().idle <= 0)
67 { idle: 0, active: 0, utilization: 0 });
88 // Cutting the idle time in half since it's possible that the call took a
90 assert.ok(wElu.idle >= 25, `${wElu.idle} < 25`);
113 return elu.idle + elu.active;
/third_party/backends/backend/escl/
H A Descl_status.c35 struct idle struct
51 struct idle *mem = (struct idle *)userp; in memory_callback_s()
200 struct idle *var = NULL; in escl_status()
213 var = (struct idle*)calloc(1, sizeof(struct idle)); in escl_status()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_gpu_load.c30 * frequency and the "busy" or "idle" counter is incremented based on
79 p_atomic_inc(&counters->named.field.idle); \
172 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter() local
174 return busy | ((uint64_t)idle << 32); in r600_read_mmio_counter()
182 unsigned idle = (end >> 32) - (begin >> 32); in r600_end_mmio_counter() local
190 if (idle || busy) { in r600_end_mmio_counter()
191 return busy*100 / (busy + idle); in r600_end_mmio_counter()
/third_party/python/PCbuild/
H A 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/libwebsockets/lib/event-libs/glib/
H A 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()
220 * For glib, this disables the idle callback. Otherwise we keep in lws_glib_idle_timer_cb()
223 * We reenable the idle callback on the next network or scheduled event in lws_glib_idle_timer_cb()
226 lws_gs_destroy(pt_to_priv_glib(pt)->idle); in lws_glib_idle_timer_cb()
[all...]
H A Dprivate-lib-event-libs-glib.h37 lws_glib_tag_t idle; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_gpu_load.c28 * frequency and the "busy" or "idle" counter is incremented based on
77 p_atomic_inc(&counters->named.field.idle); \
185 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in si_read_mmio_counter() local
187 return busy | ((uint64_t)idle << 32); in si_read_mmio_counter()
194 unsigned idle = (end >> 32) - (begin >> 32); in si_end_mmio_counter() local
202 if (idle || busy) { in si_end_mmio_counter()
203 return busy * 100 / (busy + idle); in si_end_mmio_counter()
/third_party/node/benchmark/perf_hooks/
H A Dbench-eventlooputil.js44 assert(elu.active + elu.idle > 0);
57 assert(elu.active + elu.idle > 0);
/third_party/libwebsockets/lib/event-libs/libuv/
H A Dlibuv.c61 struct lws_pt_eventlibs_libuv, idle); in lws_uv_idle()
85 /* if there is nobody who needs service forcing, shut down idle */ in lws_uv_idle()
155 uv_idle_start(&ptpriv->idle, lws_uv_idle); in lws_io_cb()
694 uv_idle_stop(&pt_to_priv_uv(pt)->idle); in elops_destroy_pt_uv()
695 uv_close((uv_handle_t *)&pt_to_priv_uv(pt)->idle, lws_uv_close_cb_sa); in elops_destroy_pt_uv()
746 uv_idle_init(loop, &ptpriv->idle); in elops_init_pt_uv()
747 LWS_UV_REFCOUNT_STATIC_HANDLE_NEW(&ptpriv->idle, pt); in elops_init_pt_uv()
748 uv_idle_start(&ptpriv->idle, lws_uv_idle); in elops_init_pt_uv()
/third_party/mbedtls/programs/ssl/
H A Dssl_client2.c2232 ret = idle(&server_fd, &timer, ret); in main()
2234 ret = idle(&server_fd, ret); in main()
2475 idle(&server_fd, &timer, ret); in main()
2477 idle(&server_fd, ret); in main()
2524 idle(&server_fd, &timer, ret); in main()
2526 idle(&server_fd, ret); in main()
2552 idle(&server_fd, &timer, ret); in main()
2554 idle(&server_fd, ret); in main()
2614 idle(&server_fd, &timer, ret); in main()
2616 idle( in main()
[all...]
/third_party/backends/backend/pixma/
H A Dpixma.c103 /* valid states: idle, !idle && scanning, !idle && !scanning */
104 SANE_Bool idle; member
106 SANE_Status last_read_status; /* valid if !idle && !scanning */
1229 ss->idle = SANE_TRUE; in terminate_reader_task()
1777 ss->idle = SANE_TRUE; in sane_open()
1836 if (!ss->idle && a != SANE_ACTION_GET_VALUE) in sane_control_option()
1838 PDBG (pixma_dbg (3, "Warning: !idle && !SANE_ACTION_GET_VALUE\n")); in sane_control_option()
1881 if (!ss->idle) in sane_get_parameters()
[all...]
/third_party/lwip/src/include/lwip/priv/
H A Daltcp_priv.h90 typedef void (*altcp_keepalive_enable_fn)(struct altcp_pcb *conn, u32_t idle, u32_t intvl, u32_t count);
147 void altcp_default_keepalive_enable(struct altcp_pcb *conn, u32_t idle, u32_t intvl, u32_t count);
/third_party/libwebsockets/lib/event-libs/libev/
H A Dlibev.c54 struct lws_pt_eventlibs_libev, idle); in lws_ev_idle_cb()
79 /* there is nobody who needs service forcing, shut down idle */ in lws_ev_idle_cb()
120 ev_idle_start(ptpr->io_loop, &ptpr->idle); in lws_accept_cb()
235 ev_idle_init(&ptpr->idle, lws_ev_idle_cb); in elops_init_pt_ev()
265 ev_idle_stop(ptpr->io_loop, &ptpr->idle); in elops_destroy_pt_ev()
/third_party/lwip/src/core/
H A Daltcp.c514 altcp_keepalive_enable(struct altcp_pcb *conn, u32_t idle, u32_t intvl, u32_t count) in altcp_keepalive_enable() argument
517 conn->fns->keepalive_enable(conn, idle, intvl, count); in altcp_keepalive_enable()
697 altcp_default_keepalive_enable(struct altcp_pcb *conn, u32_t idle, u32_t intvl, u32_t count) in altcp_default_keepalive_enable() argument
700 altcp_keepalive_enable(conn->inner_conn, idle, intvl, count); in altcp_default_keepalive_enable()
/third_party/python/Lib/idlelib/
H A Didle.bat4 start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_bufmgr.c157 * until they're idle before closing and returning the VMA.
263 bo->idle = !busy.busy; in crocus_bo_busy()
307 /* If the last BO in the cache is busy, there are no idle BOs. Bail, in alloc_bo_from_cache()
365 bo->idle = true; in alloc_fresh_bo()
511 bo->idle = true; in crocus_bo_create_userptr()
656 if (bo->idle) { in bo_free()
660 * BO is idle. Just move it to the dead list for now. in bo_free()
692 if (!bo->idle && crocus_bo_busy(bo)) in cleanup_bo_cache()
747 bool busy = dbg && !bo->idle; in bo_wait_with_stall_warning()
1126 /* If we know it's idle, do in crocus_bo_wait()
[all...]

Completed in 27 milliseconds

1234