OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getrusage
(Results
1 - 16
of
16
) sorted by relevancy
/src/lib/libc/compat/sys/
compat_getrusage.c
45
__warn_references(
getrusage
,
46
"warning: reference to compatibility
getrusage
(); include <sys/resource.h> to generate correct reference")
48
__strong_alias(
getrusage
, __compat_getrusage)
51
* libc12 compatible
getrusage
routine.
/src/lib/libc/compat/gen/
compat_times.c
28
#define
getrusage
__compat_getrusage
macro
/src/tests/lib/libc/sys/
t_getrusage.c
89
ATF_REQUIRE(
getrusage
(INT_MAX, &ru) != 0);
94
ATF_REQUIRE(
getrusage
(RUSAGE_SELF, (void *)0) != 0);
101
atf_tc_set_md_var(tc, "descr", "Test signal count with
getrusage
(2)");
119
ATF_REQUIRE(
getrusage
(RUSAGE_SELF, &ru) == 0);
122
atf_tc_fail("
getrusage
(2) did not record signals");
128
atf_tc_set_md_var(tc, "descr", "Test maxrss growing with
getrusage
(2)");
144
ATF_REQUIRE(
getrusage
(RUSAGE_SELF, &ru) == 0);
156
ATF_REQUIRE(
getrusage
(RUSAGE_SELF, &ru) == 0);
164
atf_tc_set_md_var(tc, "descr", "Test send growing with
getrusage
(2)");
174
ATF_REQUIRE(
getrusage
(RUSAGE_SELF, &ru) == 0)
[
all
...]
/src/lib/libc/gen/
clock.c
50
* interrupt based on when clock ticks happen.
getrusage
apportions the
54
* Due to the way the time is apportioned, this code (and indeed
getrusage
64
if (
getrusage
(RUSAGE_SELF, &ru))
times.c
81
if (
getrusage
(RUSAGE_SELF, &ru) < 0)
85
if (
getrusage
(RUSAGE_CHILDREN, &ru) < 0)
/src/sys/sys/
resource.h
157
int
getrusage
(int, struct rusage *) __RENAME(__getrusage50);
/src/tests/net/in_cksum/
in_cksum.c
241
getrusage
(RUSAGE_SELF, &res);
245
getrusage
(RUSAGE_SELF, &res);
252
getrusage
(RUSAGE_SELF, &res);
256
getrusage
(RUSAGE_SELF, &res);
/src/bin/csh/
time.c
62
(void)
getrusage
(RUSAGE_SELF, &ru0);
63
(void)
getrusage
(RUSAGE_CHILDREN, &ruch);
78
(void)
getrusage
(RUSAGE_SELF, &ru1);
79
(void)
getrusage
(RUSAGE_CHILDREN, &ruch);
/src/sbin/cgdconfig/
pkcs5_pbkdf2.c
174
(void)
getrusage
(RUSAGE_SELF, &start);
179
(void)
getrusage
(RUSAGE_SELF, &end);
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerUtilPosix.cpp
119
if (
getrusage
(RUSAGE_SELF, &usage))
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/afl/
afl_driver.cpp
155
if (
getrusage
(RUSAGE_SELF, &usage))
/src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_interceptors.cc
42
#define
getrusage
__getrusage50
macro
956
INTERCEPTOR(int,
getrusage
, int who, void *usage) {
958
int res = REAL(
getrusage
)(who, usage);
1681
INTERCEPT_FUNCTION(
getrusage
);
/src/lib/libc/sys/
Makefile.inc
269
getpriority.2 getrandom.2 getrlimit.2
getrusage
.2 getsid.2 \
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_linux_libcdep.cc
618
//
getrusage
does not give us the current RSS, only the max RSS.
623
if (
getrusage
(RUSAGE_SELF, &usage)) // Failed, probably due to a sandbox.
/src/libexec/ftpd/
ftpd.c
1784
(void)
getrusage
(RUSAGE_SELF, &rusage_before);
1788
(void)
getrusage
(RUSAGE_SELF, &rusage_after);
/src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
msan_test.cc
3066
TEST(MemorySanitizer,
getrusage
) {
3069
int result =
getrusage
(RUSAGE_SELF, &usage);
Completed in 47 milliseconds
Indexes created Sat Oct 18 17:09:52 GMT 2025