Lines Matching refs:usage
45 invoke_print(int who, const char *who_str, struct rusage *usage) in invoke_print() argument
47 int rc = syscall(__NR_getrusage, who, usage); in invoke_print()
56 (long long) usage->ru_utime.tv_sec, in invoke_print()
57 zero_extend_signed_to_ull(usage->ru_utime.tv_usec), in invoke_print()
58 (long long) usage->ru_stime.tv_sec, in invoke_print()
59 zero_extend_signed_to_ull(usage->ru_stime.tv_usec), in invoke_print()
60 usage->ru_maxrss, usage->ru_ixrss, usage->ru_idrss, in invoke_print()
61 usage->ru_isrss, usage->ru_minflt, usage->ru_majflt, in invoke_print()
62 usage->ru_nswap, usage->ru_inblock, usage->ru_oublock, in invoke_print()
63 usage->ru_msgsnd, usage->ru_msgrcv, usage->ru_nsignals, in invoke_print()
64 usage->ru_nvcsw, usage->ru_nivcsw, sprintrc(rc)); in invoke_print()
72 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, usage); in main()
73 if (invoke_print(ARG_STR(RUSAGE_SELF), usage)) { in main()
76 if (invoke_print(ARG_STR(RUSAGE_THREAD), usage) && errno != EINVAL) { in main()