/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_gpu_load.c | 30 * frequency and the "busy" or "idle" counter is incremented based on 77 p_atomic_inc(&counters->named.field.busy); \ 171 unsigned busy = p_atomic_read(&rscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() local 174 return busy | ((uint64_t)idle << 32); in r600_read_mmio_counter() 181 unsigned busy = (end & 0xffffffff) - (begin & 0xffffffff); in r600_end_mmio_counter() local 184 /* Calculate the % of time the busy counter was being incremented. in r600_end_mmio_counter() 190 if (idle || busy) { in r600_end_mmio_counter() 191 return busy*100 / (busy + idle); in r600_end_mmio_counter() 201 #define BUSY_INDEX(rscreen, field) (&rscreen->mmio_counters.named.field.busy [all...] |
H A D | r600_buffer_common.c | 54 bool busy = false; in r600_buffer_map_sync_with_rings() local 75 busy = true; in r600_buffer_map_sync_with_rings() 86 busy = true; in r600_buffer_map_sync_with_rings() 90 if (busy || !ctx->ws->buffer_wait(ctx->ws, resource->buf, 0, rusage)) { in r600_buffer_map_sync_with_rings() 95 * CS flush to complete to avoid busy-waiting in the winsys. */ in r600_buffer_map_sync_with_rings()
|
/third_party/pulseaudio/src/modules/ |
H A D | reserve-monitor.c | 46 unsigned busy:1; member 72 /* If we ourselves own the device, then don't consider this 'busy' */ in get_busy() 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()
|
H A D | module-udev-detect.c | 183 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 308 * card are currently busy. If they are, don't try to load in verify_access() 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() 326 * audio device again, practically entering a busy in verify_access() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_gpu_load.c | 28 * frequency and the "busy" or "idle" counter is incremented based on 75 p_atomic_inc(&counters->named.field.busy); \ 184 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in si_read_mmio_counter() local 187 return busy | ((uint64_t)idle << 32); in si_read_mmio_counter() 193 unsigned busy = (end & 0xffffffff) - (begin & 0xffffffff); in si_end_mmio_counter() local 196 /* Calculate the % of time the busy counter was being incremented. in si_end_mmio_counter() 202 if (idle || busy) { in si_end_mmio_counter() 203 return busy * 100 / (busy + idle); in si_end_mmio_counter() 214 (&sscreen->mmio_counters.named.field.busy [all...] |
/third_party/libdrm/tests/exynos/ |
H A D | exynos_fimg2d_event.c | 42 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/ |
H A D | aiocp.c | 49 static long long busy; variable 111 --busy; in async_write_done() 167 busy = 0; in async_run() 170 n = MIN(aionum - busy, tocopy); in async_run() 195 busy += n; in async_run()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | example.c | 102 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 output_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() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_gem.c | 220 struct drm_i915_gem_busy busy = { in anv_gem_busy() local 224 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in anv_gem_busy() 228 return busy.busy != 0; in anv_gem_busy()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | RoundTripLatencyActivity.java | 358 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/python/Tools/demo/ |
H A D | sortvisu.py | 489 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/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | acs.c | 71 * observed busy time over the time we spent on the channel, 78 * (busy time - tx time) / (active time - tx time) * 2^(chan_nf + band_min_nf) 83 * What this does is it decreases the observed busy time ratio if the 88 * If channel busy time is not available the fallback is to use channel RX time. 94 * (busy time - tx time) / (active time - tx time) * 98 * However to account for cases where busy/rx time is 0 (channel load is then 102 * 10^(chan_nf/5) + (busy time - tx time) / (active time - tx time) * 135 * ACS: 1: min_nf=-113 interference_factor=0.0802469 nf=-113 time=162 busy=0 rx=13 136 * ACS: 2: min_nf=-113 interference_factor=0.0745342 nf=-113 time=161 busy=0 rx=12 137 * ACS: 3: min_nf=-113 interference_factor=0.0679012 nf=-113 time=162 busy 296 long double factor, busy, total; acs_survey_interference_factor() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 259 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in crocus_bo_busy() local 261 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in crocus_bo_busy() 263 bo->idle = !busy.busy; in crocus_bo_busy() 264 return 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() 689 /* Stop once we reach a busy BO - all others past this point were in cleanup_bo_cache() 690 * freed more recently so are likely also busy. in cleanup_bo_cache() 747 bool busy in bo_wait_with_stall_warning() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | acs.c | 71 * observed busy time over the time we spent on the channel, 78 * (busy time - tx time) / (active time - tx time) * 2^(chan_nf + band_min_nf) 83 * What this does is it decreases the observed busy time ratio if the 88 * If channel busy time is not available the fallback is to use channel RX time. 94 * (busy time - tx time) / (active time - tx time) * 98 * However to account for cases where busy/rx time is 0 (channel load is then 102 * 10^(chan_nf/5) + (busy time - tx time) / (active time - tx time) * 135 * ACS: 1: min_nf=-113 interference_factor=0.0802469 nf=-113 time=162 busy=0 rx=13 136 * ACS: 2: min_nf=-113 interference_factor=0.0745342 nf=-113 time=161 busy=0 rx=12 137 * ACS: 3: min_nf=-113 interference_factor=0.0679012 nf=-113 time=162 busy 305 long double factor, busy, total; acs_survey_interference_factor() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_cpu.c | 271 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/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 443 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in iris_bo_busy_gem() local 445 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in iris_bo_busy_gem() 447 return busy.busy; in iris_bo_busy_gem() 522 bool busy; in iris_bo_busy() local 524 busy = iris_bo_busy_gem(bo); in iris_bo_busy() 526 busy = iris_bo_busy_syncobj(bo); in iris_bo_busy() 528 bo->idle = !busy; in iris_bo_busy() 530 return busy; in iris_bo_busy() 894 /* If the last BO in the cache is busy, ther in alloc_bo_from_cache() 1507 bool busy = dbg && !bo->idle; bo_wait_with_stall_warning() local [all...] |
/third_party/libunwind/libunwind/include/tdep-ia64/ |
H A D | script.h | 64 atomic_flag busy; /* is the script-cache busy? */ member
|
/third_party/node/test/parallel/ |
H A D | test-http-exceptions.js | 48 http.get({ port: this.address().port, path: `/busy/${i}` });
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_conn.c | 630 int busy = 0; in nghttp3_conn_read_control() local 637 for (; p != end || busy;) { in nghttp3_conn_read_control() 638 busy = 0; in nghttp3_conn_read_control() 732 busy = 1; in nghttp3_conn_read_control() 955 busy = 1; in nghttp3_conn_read_control() 964 busy = 1; in nghttp3_conn_read_control() 1179 int busy = 0; in nghttp3_conn_read_bidi() local 1202 for (; p != end || busy;) { in nghttp3_conn_read_bidi() 1203 busy = 0; in nghttp3_conn_read_bidi() 1313 busy in nghttp3_conn_read_bidi() [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_session.c | 5821 int busy = 0; in nghttp2_session_mem_recv() local 5948 busy = 1; in nghttp2_session_mem_recv() 6013 busy = 1; in nghttp2_session_mem_recv() 6041 busy = 1; in nghttp2_session_mem_recv() 6071 busy = 1; in nghttp2_session_mem_recv() 6099 busy = 1; in nghttp2_session_mem_recv() 6117 busy = 1; in nghttp2_session_mem_recv() 6164 busy = 1; in nghttp2_session_mem_recv() 6192 busy = 1; in nghttp2_session_mem_recv() 6208 busy in nghttp2_session_mem_recv() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_session.c | 5816 int busy = 0; in nghttp2_session_mem_recv() local 5943 busy = 1; in nghttp2_session_mem_recv() 6008 busy = 1; in nghttp2_session_mem_recv() 6036 busy = 1; in nghttp2_session_mem_recv() 6066 busy = 1; in nghttp2_session_mem_recv() 6094 busy = 1; in nghttp2_session_mem_recv() 6112 busy = 1; in nghttp2_session_mem_recv() 6159 busy = 1; in nghttp2_session_mem_recv() 6187 busy = 1; in nghttp2_session_mem_recv() 6203 busy in nghttp2_session_mem_recv() [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_memcached_connection.cc | 426 auto busy = false; in parse_packet() local 509 busy = true; in parse_packet() 528 busy = true; in parse_packet() 571 if (!busy && in == recvbuf_.last) { in parse_packet()
|
/third_party/libdrm/amdgpu/ |
H A D | amdgpu_cs.c | 441 bool *busy) in amdgpu_ioctl_wait_cs() 463 *busy = args.out.status; in amdgpu_ioctl_wait_cs() 472 bool busy = true; in amdgpu_cs_query_fence_status() local 490 fence->fence, timeout_ns, flags, &busy); in amdgpu_cs_query_fence_status() 492 if (!r && !busy) in amdgpu_cs_query_fence_status() 434 amdgpu_ioctl_wait_cs(amdgpu_context_handle context, unsigned ip, unsigned ip_instance, uint32_t ring, uint64_t handle, uint64_t timeout_ns, uint64_t flags, bool *busy) amdgpu_ioctl_wait_cs() argument
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_winsys_dri3.c | 62 bool busy; member 166 buf->busy = false; in dri3_handle_present_event() 210 if (!buffer || !buffer->busy) in dri3_find_back() 350 if (buffer && !buffer->busy && in dri3_get_back_buffer() 602 back->busy = true; in vl_dri3_flush_frontbuffer()
|
/third_party/mesa3d/src/freedreno/computerator/examples/ |
H A D | test-regfile.sh | 25 ; busy loop to make sure it actually uses all possible waves
|