Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/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/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/mingw-w64/mingw-w64-libraries/winpthreads/src/
Dbarrier.c38 assert((((barrier_t *)*barrier)->valid == LIFE_BARRIER) && (((barrier_t *)*barrier)->busy > 0)); in barrier_unref()
40 ((barrier_t *)*barrier)->busy -= 1; in barrier_unref()
52 ((barrier_t *)*barrier)->busy += 1; in barrier_ref()
71 if (b_->busy) r = EBUSY; in barrier_ref_destroy()
Drwlock.c40 assert((((rwlock_t *)*rwl)->valid == LIFE_RWLOCK) && (((rwlock_t *)*rwl)->busy > 0)); in rwl_unref()
42 ((rwlock_t *)*rwl)->busy--; in rwl_unref()
55 ((rwlock_t *)*rwl)->busy ++; in rwl_ref()
72 ((rwlock_t *)*rwl)->busy ++; in rwl_ref_unlock()
92 else if (r_->busy) r = EBUSY; in rwl_ref_destroy()
145 (int)r->busy, in rwl_print()
Dbarrier.h40 int busy; member
/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/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/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/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/uboot/u-boot-2020.01/drivers/net/fsl-mc/dpio/
Dqbman_portal.c81 atomic_set(&p->vdq.busy, 1); in qbman_swp_init()
330 if (!atomic_dec_and_test(&s->vdq.busy)) { in qbman_swp_pull()
331 atomic_inc(&s->vdq.busy); in qbman_swp_pull()
409 atomic_inc(&s->vdq.busy); in qbman_swp_dqrr_next()
472 atomic_inc(&s->vdq.busy); in qbman_dq_entry_has_newtoken()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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/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()
414 if (busy) in ext2fs_check_mount_point()
/third_party/boost/boost/thread/concurrent_queues/
Dqueue_op_status.hpp27 { success = 0, empty, full, closed, busy, timeout, not_ready } in BOOST_SCOPED_ENUM_DECLARE_BEGIN()
/third_party/uboot/u-boot-2020.01/drivers/fpga/
Dspartan2.c129 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan2_sp_load()
163 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan2_sp_load()
182 while ((*fn->busy) (cookie)) { in spartan2_sp_load()
Dspartan3.c133 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan3_sp_load()
167 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan3_sp_load()
186 while ((*fn->busy) (cookie)) { in spartan3_sp_load()
/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:

12345678910>>...14