| /netbsd/src/tests/lib/libc/sys/ |
| D | t_getrusage.c | 94 ATF_REQUIRE(getrusage(RUSAGE_SELF, (void *)0) != 0); in ATF_TC_BODY() 119 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY() 144 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY() 156 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY() 174 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY() 189 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY() 217 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru1) == 0); in ATF_TC_BODY() 221 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru2) == 0); in ATF_TC_BODY() 255 ATF_REQUIRE(getrusage(RUSAGE_SELF, &ru) == 0); in ATF_TC_BODY()
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | getruntime.c | 68 #ifndef RUSAGE_SELF 69 #define RUSAGE_SELF 0 macro 102 getrusage (RUSAGE_SELF, &rusage); in get_run_time()
|
| D | ChangeLog | 1630 * getruntime.c (RUSAGE_SELF): Define if not already defined. 1631 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
|
| /netbsd/src/external/gpl3/binutils/dist/libiberty/ |
| D | getruntime.c | 68 #ifndef RUSAGE_SELF 69 #define RUSAGE_SELF 0 macro 102 getrusage (RUSAGE_SELF, &rusage); in get_run_time()
|
| D | ChangeLog | 2121 * getruntime.c (RUSAGE_SELF): Define if not already defined. 2122 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
|
| /netbsd/src/external/gpl3/gdb/dist/libiberty/ |
| D | getruntime.c | 68 #ifndef RUSAGE_SELF 69 #define RUSAGE_SELF 0 macro 102 getrusage (RUSAGE_SELF, &rusage); in get_run_time()
|
| D | ChangeLog | 2121 * getruntime.c (RUSAGE_SELF): Define if not already defined. 2122 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
|
| /netbsd/src/sbin/cgdconfig/ |
| D | pkcs5_pbkdf2.c | 174 (void)getrusage(RUSAGE_SELF, &start); in pkcs5_pbkdf2_time() 179 (void)getrusage(RUSAGE_SELF, &end); in pkcs5_pbkdf2_time()
|
| /netbsd/src/lib/libc/gen/ |
| D | clock.c | 64 if (getrusage(RUSAGE_SELF, &ru)) in clock()
|
| D | times.c | 81 if (getrusage(RUSAGE_SELF, &ru) < 0) in times()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | timevar.cc | 41 #ifndef RUSAGE_SELF 42 # define RUSAGE_SELF 0 macro 231 getrusage (RUSAGE_SELF, &rusage); in get_time()
|
| /netbsd/src/bin/csh/ |
| D | time.c | 62 (void)getrusage(RUSAGE_SELF, &ru0); in settimes() 78 (void)getrusage(RUSAGE_SELF, &ru1); in dotime()
|
| /netbsd/src/sys/sys/ |
| D | resource.h | 54 #define RUSAGE_SELF 0 macro
|
| /netbsd/src/external/gpl3/gdb/dist/sim/common/ |
| D | sim-utils.c | 285 if (getrusage (RUSAGE_SELF, &mytime) == 0) in sim_elapsed_time_get()
|
| /netbsd/src/external/gpl3/gdb/dist/sim/ppc/ |
| D | mon.c | 251 if (getrusage (RUSAGE_SELF, &mytime) == 0 in mon_print_info()
|
| D | emul_unix.c | 877 status = getrusage(RUSAGE_SELF, &host_rusage); in do_unix_getrusage() 885 status = getrusage(RUSAGE_SELF, &host_rusage); in do_unix_getrusage()
|
| /netbsd/src/sys/compat/linux/arch/alpha/ |
| D | linux_osf1.c | 446 who = RUSAGE_SELF; in linux_sys_osf1_getrusage()
|
| /netbsd/src/external/lgpl3/gmp/dist/tune/ |
| D | speed.c | 1378 if (getrusage (RUSAGE_SELF, &r) != 0) in main()
|
| /netbsd/src/sys/kern/ |
| D | kern_resource.c | 607 case RUSAGE_SELF: in getrusage1()
|
| /netbsd/src/libexec/ftpd/ |
| D | ftpd.c | 1784 (void)getrusage(RUSAGE_SELF, &rusage_before); in retrieve() 1788 (void)getrusage(RUSAGE_SELF, &rusage_after); in retrieve()
|
| /netbsd/src/external/public-domain/sqlite/dist/ |
| D | shell.c | 1327 getrusage(RUSAGE_SELF, &sBegin); in beginTimer() 1345 getrusage(RUSAGE_SELF, &sEnd); in endTimer()
|