Searched refs:proc_pid_rusage (Results 1 – 12 of 12) sorted by relevance
| /xnu-11215/tests/ |
| H A D | phys_footprint_interval_max.c | 50 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&ru); 62 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&ru); 70 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&ru); 79 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&ru); 90 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&ru);
|
| H A D | get_shared_cache_address.c | 26 if (proc_pid_rusage(getpid(), RUSAGE_INFO_V5, (rusage_info_t *)&ru) != 0) { in main()
|
| H A D | setitimer.c | 337 rv = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru);
|
| /xnu-11215/tests/recount/ |
| H A D | rusage_tests.c | 24 int ret = proc_pid_rusage(0, RUSAGE_INFO_V5, (void *)&usage_info); 41 int ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V5, (void *)&usage_info);
|
| H A D | recount_perf_tests.c | 200 int before_ret = proc_pid_rusage(pid, RUSAGE_INFO_V5, in proc_pid_rusage_usage() 202 int after_ret = proc_pid_rusage(pid, RUSAGE_INFO_V5, in proc_pid_rusage_usage()
|
| H A D | recount_tests.c | 177 int ret = proc_pid_rusage(pid, RUSAGE_INFO_V6, (rusage_info_t *)info); in _get_proc_pid_rusage()
|
| /xnu-11215/tests/vm/ |
| H A D | neural_footprint.c | 281 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru); in check_phys_footprint_rusage() 295 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru); in check_phys_footprint_rusage_after() 362 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru); in reset_max_interval() 668 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru); 859 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V6, (rusage_info_t *)&ru);
|
| /xnu-11215/libsyscall/wrappers/libproc/ |
| H A D | libproc.h | 111 int proc_pid_rusage(int pid, int flavor, rusage_info_t *buffer) __OSX_AVAILABLE_STARTING(__MAC_10_9…
|
| H A D | libproc.c | 138 proc_pid_rusage(int pid, int flavor, rusage_info_t *buffer) in proc_pid_rusage() function
|
| /xnu-11215/tests/cpu_counters/ |
| H A D | kpc_tests.c | 71 ret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4, (rusage_info_t *)&pre_ru); in start_kpc() 586 int ruret = proc_pid_rusage(getpid(), RUSAGE_INFO_V4,
|
| /xnu-11215/bsd/kern/ |
| H A D | proc_info.c | 156 static int __attribute__ ((noinline)) proc_pid_rusage(int pid, int flavor, user_addr_t buffer, int3… 323 return proc_pid_rusage(pid, flavor, buffer, retval); in proc_info_internal() 3763 proc_pid_rusage(int pid, int flavor, user_addr_t buffer, __unused int32_t *retval) in proc_pid_rusage() function
|
| /xnu-11215/tests/ktrace/ |
| H A D | kdebug_tests.c | 1797 error = proc_pid_rusage(pid, RUSAGE_INFO_V4, (rusage_info_t)rusage);
|