Home
last modified time | relevance | path

Searched refs:ru1 (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/iomgr/
Dresource_quota_test.cc806 grpc_resource_user* ru1 = grpc_resource_user_create(rq, "ru1"); in test_thread_limit() local
813 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 10)); in test_thread_limit()
815 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 40)); in test_thread_limit()
822 grpc_resource_user_free_threads(ru1, 10); in test_thread_limit()
829 GPR_ASSERT(!grpc_resource_user_allocate_threads(ru1, 20)); in test_thread_limit()
832 grpc_resource_user_free_threads(ru1, 10); in test_thread_limit()
834 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 5)); in test_thread_limit()
840 grpc_resource_user_unref(ru1); in test_thread_limit()
851 grpc_resource_user* ru1 = grpc_resource_user_create(rq, "ru1"); in test_thread_maxquota_change() local
858 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 50)); in test_thread_maxquota_change()
[all …]
/external/python/cpython2/Modules/
D_hotshot.c938 struct rusage ru1, ru2; in calibrate() local
940 getrusage(RUSAGE_SELF, &ru1); in calibrate()
943 if (ru1.ru_utime.tv_sec != ru2.ru_utime.tv_sec) { in calibrate()
944 rusage_diff = ((1000000 - ru1.ru_utime.tv_usec) in calibrate()
948 else if (ru1.ru_utime.tv_usec != ru2.ru_utime.tv_usec) { in calibrate()
949 rusage_diff = ru2.ru_utime.tv_usec - ru1.ru_utime.tv_usec; in calibrate()
952 else if (ru1.ru_stime.tv_sec != ru2.ru_stime.tv_sec) { in calibrate()
953 rusage_diff = ((1000000 - ru1.ru_stime.tv_usec) in calibrate()
957 else if (ru1.ru_stime.tv_usec != ru2.ru_stime.tv_usec) { in calibrate()
958 rusage_diff = ru2.ru_stime.tv_usec - ru1.ru_stime.tv_usec; in calibrate()
/external/llvm-project/libclc/generic/lib/math/
Dep_log.cl64 double ru1 = -r * u1;
83 double cc = near_one ? ru1 : u2;
/external/mksh/src/
Djobs.c1329 struct rusage ru0, ru1; in j_sigchld() local
1370 getrusage(RUSAGE_CHILDREN, &ru1); in j_sigchld()
1383 ru0 = ru1; in j_sigchld()
1387 timeradd(&j->usrtime, &ru1.ru_utime, &j->usrtime); in j_sigchld()
1389 timeradd(&j->systime, &ru1.ru_stime, &j->systime); in j_sigchld()
1391 ru0 = ru1; in j_sigchld()
Dfuncs.c2368 struct rusage ru0, ru1, cru0, cru1; in timex() local
2389 getrusage(RUSAGE_SELF, &ru1); in timex()
2400 timersub(&ru1.ru_utime, &ru0.ru_utime, &usrtime); in timex()
2402 timersub(&ru1.ru_stime, &ru0.ru_stime, &systime); in timex()
/external/icu/icu4c/source/data/translit/
DLatn_Bopo.txt1065 ru1 ← ㄖㄨ;