Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/third_party/grpc/src/cpp/server/load_reporter/
Dget_cpu_stats_linux.cc31 uint64_t busy = 0, total = 0; in GetCpuStatsImpl() local
40 busy = user + nice + system; in GetCpuStatsImpl()
41 total = busy + idle; in GetCpuStatsImpl()
42 return std::make_pair(busy, total); in GetCpuStatsImpl()
Dget_cpu_stats_macos.cc31 uint64_t busy = 0, total = 0; in GetCpuStatsImpl() local
37 busy = total - cpuinfo.cpu_ticks[CPU_STATE_IDLE]; in GetCpuStatsImpl()
39 return std::make_pair(busy, total); in GetCpuStatsImpl()
Dget_cpu_stats_windows.cc43 uint64_t busy = 0, total = 0; in GetCpuStatsImpl() local
47 busy = total - FiletimeToInt(idle); in GetCpuStatsImpl()
49 return std::make_pair(busy, total); in GetCpuStatsImpl()
Dget_cpu_stats_unsupported.cc31 uint64_t busy = 0, total = 0; in GetCpuStatsImpl() local
34 return std::make_pair(busy, total); in GetCpuStatsImpl()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c77 p_atomic_inc(&counters->named.field.busy); \
168 unsigned busy = p_atomic_read(&rscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() local
171 return busy | ((uint64_t)idle << 32); in r600_read_mmio_counter()
178 unsigned busy = (end & 0xffffffff) - (begin & 0xffffffff); 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()
198 #define BUSY_INDEX(rscreen, field) (&rscreen->mmio_counters.named.field.busy - \
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gpu_load.c75 p_atomic_inc(&counters->named.field.busy); \
181 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in si_read_mmio_counter() local
184 return busy | ((uint64_t)idle << 32); in si_read_mmio_counter()
190 unsigned busy = (end & 0xffffffff) - (begin & 0xffffffff); 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()
211 (&sscreen->mmio_counters.named.field.busy - sscreen->mmio_counters.array)
/third_party/pulseaudio/src/modules/
Dreserve-monitor.c46 unsigned busy:1; member
106 unsigned old_busy = m->busy; in filter_handler()
108 m->busy = get_busy(c, new); in filter_handler()
110 if (m->busy != old_busy && m->change_cb) { in filter_handler()
194 m->busy = get_busy(m->connection, name_owner); in rm_watch()
247 return m->busy; in rm_busy()
Dmodule-udev-detect.c183 bool busy = false; in is_card_busy() local
258 busy = true; in is_card_busy()
279 return busy; in is_card_busy()
305 bool busy; in verify_access() local
314 busy = is_card_busy(path_get_card_id(d->path)); in verify_access()
315 pa_log_debug("%s is busy: %s", d->path, pa_yes_no(busy)); in verify_access()
317 if (!busy) { in verify_access()
/third_party/boost/libs/safe_numerics/example/
Dmotor_test3.c51 while(busy()) __delay_ms(100); in main()
54 while(busy()) __delay_ms(100); in main()
57 while(busy()) __delay_ms(100); in main()
/third_party/gstreamer/gstreamer/docs/random/wtay/
Dpoll-timeout14 id->state = busy;
48 /* if it's busy waiting in poll, write to the fd */
49 if (id->state == busy) {
74 * first check if it was busy. */
114 /* if it's busy waiting in poll, write to the fd */
/third_party/libdrm/tests/exynos/
Dexynos_fimg2d_event.c42 unsigned int busy; member
64 job->busy = 0; in g2d_event_handler()
115 while (jobs[i].busy) in wait_all_jobs()
126 if (jobs[i].busy == 0) in free_job()
174 j->busy = 1; in g2d_work()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c50 static int busy = 0; // # of I/O's in flight variable
236 --busy; in wr_done()
264 --busy; in rd_done()
501 int n = MIN(MIN(aio_maxio - busy, aio_maxio), in main()
530 busy += n; in main()
532 printf("io_submit(%d) busy:%d\n", n, busy); in main()
551 busy, aio_maxio, tocopy); in main()
/third_party/grpc/test/cpp/server/load_reporter/
Dget_cpu_stats_test.cc37 uint64_t busy = p.first; in TEST() local
39 ASSERT_LE(busy, total); in TEST()
/third_party/ltp/tools/sparse/sparse-src/
Dexample.c102 unsigned busy:16, member
386 if (reg->busy) in flush_reg()
387 output_comment(state, "reg %s flushed while busy is %d!", reg->name, reg->busy); in flush_reg()
508 if (!reg->busy) { in target_reg()
533 …t_comment(state, "found pseudo %s in reg %s (busy=%d)", show_pseudo(pseudo), reg->name, reg->busy); in find_in_reg()
667 if (src->busy == 1 && src->dead == 1) in copy_reg()
694 op->reg->busy--; in put_operand()
699 op->base->busy--; in put_operand()
701 op->index->busy--; in put_operand()
720 op->reg->busy++; in get_register_operand()
[all …]
/third_party/weston/clients/
Dsimple-shm.c57 int busy; member
82 mybuf->busy = 0; in buffer_release()
232 if (!window->buffers[0].busy) in window_next_buffer()
234 else if (!window->buffers[1].busy) in window_next_buffer()
329 buffer->busy = 1; in redraw()
/third_party/glib/gio/
Dgapplicationimpl-dbus.c123 gboolean busy; member
144 return g_variant_new_boolean (impl->busy); in g_application_impl_get_property()
159 "Busy", g_variant_new_boolean (impl->busy)); in send_property_change()
564 gboolean busy) in g_application_impl_set_busy_state() argument
566 if (impl->busy != busy) in g_application_impl_set_busy_state()
568 impl->busy = busy; in g_application_impl_set_busy_state()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DRoundTripLatencyActivity.java358 boolean busy = running || mLatencyAverager.isActive(); in updateButtons()
359 mMeasureButton.setEnabled(!busy); in updateButtons()
360 mAverageButton.setEnabled(!busy); in updateButtons()
362 mShareButton.setEnabled(!busy && mHasRecording); in updateButtons()
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_cpu.c271 uint64_t busy, total; in hud_cpu_graph_install() local
274 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { in hud_cpu_graph_install()
310 uint64_t busy, total; in hud_get_num_cpus() local
313 while (get_cpu_stats(i, &busy, &total)) in hud_get_num_cpus()
/third_party/boost/libs/fiber/doc/
Dtuning.qbk76 critical section again. While busy waiting on the lock, relaxing the CPU (via
155 while busy waiting]
166 [spinlock with test-test-and-swap on shared variable, while busy
179 while busy waiting and speculative execution (Intel TSX required)]
191 [spinlock with test-test-and-swap on shared variable, while busy
204 [max number of retries while busy spinning, the use fallback]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c476 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in brw_bo_busy() local
478 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in brw_bo_busy()
480 bo->idle = !busy.busy; in brw_bo_busy()
481 return busy.busy; in brw_bo_busy()
540 bool busy = false; in bo_alloc_internal() local
544 busy = true; in bo_alloc_internal()
552 assert(!(busy && zeroed)); in bo_alloc_internal()
573 if (busy && !zeroed) { in bo_alloc_internal()
980 bool busy = brw && brw->perf_debug && !bo->idle; in bo_wait_with_stall_warning() local
981 double elapsed = unlikely(busy) ? -get_time() : 0.0; in bo_wait_with_stall_warning()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dacs.c296 long double factor, busy, total; in acs_survey_interference_factor() local
299 busy = survey->channel_time_busy; in acs_survey_interference_factor()
301 busy = survey->channel_time_rx; in acs_survey_interference_factor()
312 busy -= survey->channel_time_tx; in acs_survey_interference_factor()
318 (total ? (busy / total) : 0) * in acs_survey_interference_factor()
/third_party/e2fsprogs/lib/ext2fs/
Dismounted.c355 int busy = 0; in ext2fs_check_mount_point() local
388 busy = 1; in ext2fs_check_mount_point()
415 if (busy) in ext2fs_check_mount_point()
/third_party/python/Tools/demo/
Dsortvisu.py489 self.busy = 0
562 if self.busy:
593 if self.busy:
596 self.busy = 1
604 self.busy = 0
607 if not self.busy:
613 if not self.busy:
621 if self.busy:
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c260 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in crocus_bo_busy() local
262 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in crocus_bo_busy()
264 bo->idle = !busy.busy; in crocus_bo_busy()
265 return busy.busy; in crocus_bo_busy()
745 bool busy = dbg && !bo->idle; in bo_wait_with_stall_warning() local
746 double elapsed = unlikely(busy) ? -get_time() : 0.0; in bo_wait_with_stall_warning()
750 if (unlikely(busy)) { in bo_wait_with_stall_warning()
/third_party/mesa3d/docs/drivers/
Dvc4.rst194 The primary question is figuring out whether the CPU is busy in your
195 application, the CPU is busy in the GL driver, the GPU is waiting for
203 sysprof. If it's not very high, is the GPU staying busy? We don't have
206 means that the GPU is currently busy processing some rendering job.
210 If the CPU is totally busy and the GPU isn't terribly busy, there is
230 If the CPU is not very busy and the GPU is not very busy, then we're
247 * Debugging for GPU fully busy

12345678910>>...15