Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 129) sorted by relevance

123456

/glibc-2.36/resource/
Dvtimes.c71 struct rusage usage; in vtimes_one() local
73 if (__getrusage (who, &usage) < 0) in vtimes_one()
76 vt->vm_utime = TIMEVAL_TO_VTIMES (usage.ru_utime); in vtimes_one()
77 vt->vm_stime = TIMEVAL_TO_VTIMES (usage.ru_stime); in vtimes_one()
78 vt->vm_idsrss = usage.ru_idrss + usage.ru_isrss; in vtimes_one()
79 vt->vm_majflt = usage.ru_majflt; in vtimes_one()
80 vt->vm_minflt = usage.ru_minflt; in vtimes_one()
81 vt->vm_nswap = usage.ru_nswap; in vtimes_one()
82 vt->vm_inblk = usage.ru_inblock; in vtimes_one()
83 vt->vm_oublk = usage.ru_oublock; in vtimes_one()
Dgetrusage.c24 __getrusage (enum __rusage_who who, struct rusage *usage) in __getrusage() argument
/glibc-2.36/sysdeps/unix/sysv/linux/
Dwait4.c26 __wait4_time64 (pid_t pid, int *stat_loc, int options, struct __rusage64 *usage) in __wait4_time64() argument
30 return SYSCALL_CANCEL (wait4, pid, stat_loc, options, usage); in __wait4_time64()
36 usage != NULL ? &usage32 : NULL); in __wait4_time64()
38 if (ret > 0 && usage != NULL) in __wait4_time64()
39 rusage32_to_rusage64 (&usage32, usage); in __wait4_time64()
61 if (SYSCALL_CANCEL (waitid, idtype, pid, &infop, options, usage) < 0) in __wait4_time64()
68 if (usage != NULL) in __wait4_time64()
69 rusage32_to_rusage64 (&usage32, usage); in __wait4_time64()
115 __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) in libc_hidden_def()
121 usage != NULL ? &usage64 : NULL); in libc_hidden_def()
[all …]
Dwait3.c24 __wait3_time64 (int *stat_loc, int options, struct __rusage64 *usage) in __wait3_time64() argument
26 return __wait4_time64 (WAIT_ANY, stat_loc, options, usage); in __wait3_time64()
32 __wait3 (int *stat_loc, int options, struct rusage *usage) in libc_hidden_def()
36 usage != NULL ? &usage64 : NULL); in libc_hidden_def()
37 if (ret > 0 && usage != NULL) in libc_hidden_def()
38 rusage64_to_rusage (&usage64, usage); in libc_hidden_def()
Dgetrusage.c26 __getrusage64 (enum __rusage_who who, struct __rusage64 *usage) in __getrusage64() argument
29 return INLINE_SYSCALL_CALL (getrusage, who, usage); in __getrusage64()
35 rusage32_to_rusage64 (&usage32, usage); in __getrusage64()
43 __getrusage (enum __rusage_who who, struct rusage *usage) in libc_hidden_def()
53 rusage64_to_rusage (&usage64, usage); in libc_hidden_def()
/glibc-2.36/sysdeps/mach/hurd/
Dgetrusage.c29 __getrusage (enum __rusage_who who, struct rusage *usage) in __getrusage() argument
63 memset (usage, 0, sizeof (struct rusage)); in __getrusage()
65 usage->ru_utime.tv_sec = bi.user_time.seconds; in __getrusage()
66 usage->ru_utime.tv_usec = bi.user_time.microseconds; in __getrusage()
67 usage->ru_stime.tv_sec = bi.system_time.seconds; in __getrusage()
68 usage->ru_stime.tv_usec = bi.system_time.microseconds; in __getrusage()
71 usage->ru_majflt = ei.pageins; in __getrusage()
72 usage->ru_minflt = ei.faults - ei.pageins; in __getrusage()
73 usage->ru_msgsnd = ei.messages_sent; /* Mach IPC, not SysV IPC */ in __getrusage()
74 usage->ru_msgrcv = ei.messages_received; /* Mach IPC, not SysV IPC */ in __getrusage()
[all …]
Dwait4_nocancel.c26 __wait4_nocancel (pid_t pid, int *stat_loc, int options, struct rusage *usage) in __wait4_nocancel() argument
36 usage ?: &ignored, &dead)); in __wait4_nocancel()
Dwait4.c26 __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) in __wait4() argument
38 usage ?: &ignored, &dead)); in __wait4()
/glibc-2.36/benchtests/
Dbench-malloc-thread.c217 static void usage(const char *name) in usage() function
242 usage(argv[0]); in main()
247 usage(argv[0]); in main()
272 struct rusage usage; in main() local
273 getrusage(RUSAGE_SELF, &usage); in main()
281 json_attr_double (&json_ctx, "max_rss", usage.ru_maxrss); in main()
Dbench-malloc-simple.c135 struct rusage usage; in bench() local
136 getrusage (RUSAGE_SELF, &usage); in bench()
137 json_attr_double (&json_ctx, "max_rss", usage.ru_maxrss); in bench()
166 static void usage (const char *name) in usage() function
180 usage (argv[0]); in main()
/glibc-2.36/scripts/
Dbackport-support.sh31 usage () { function
33 usage: $0 {patch|commit}
39 usage
48 usage
Dcross-test-ssh.sh25 usage="usage: ${progname} [--ssh SSH] [--allow-time-setting] HOST COMMAND ..."
93 echo "$usage"
106 echo "$usage" >&2
Dmkinstalldirs20 usage="\
32 echo "$usage"
50 echo "$usage" 1>&2
Dmove-if-change26 usage="usage: $0 SOURCE DEST"
28 help="$usage
Dtest-installation.pl33 sub usage { subroutine
69 &usage;
Dinstall-sh87 usage="\
127 --help) echo "$usage"; exit $?;;
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Dosf_getrusage.c30 struct rusage usage; in __getrusage_tv32() local
31 if (__getrusage (who, &usage) == -1) in __getrusage_tv32()
34 rusage64_to_rusage32 (&usage, usage32); in __getrusage_tv32()
Dosf_wait4.c32 struct rusage usage; in __wait4_tv32() local
33 pid_t child = __wait4 (pid, status, options, &usage); in __wait4_tv32()
36 rusage64_to_rusage32 (&usage, usage32); in __wait4_tv32()
/glibc-2.36/elf/
Dsln.c38 static void usage (void);
56 usage (); in main()
67 usage (); in main()
74 usage (void) in usage() function
/glibc-2.36/posix/
Dgetconf.c414 usage (void) in usage() function
514 usage (); in main()
537 usage (); in main()
639 usage (); in main()
647 usage (); in main()
661 usage (); in main()
677 usage (); in main()
693 usage (); in main()
Dwait3.c27 __wait3 (int *stat_loc, int options, struct rusage *usage) in __wait3() argument
29 return __wait4 (WAIT_ANY, stat_loc, options, usage); in __wait3()
Dwait4.c23 __wait4 (__pid_t pid, int *stat_loc, int options, struct rusage *usage) in __wait4() argument
/glibc-2.36/include/sys/
Dresource.h143 extern int __getrusage64 (enum __rusage_who who, struct __rusage64 *usage);
146 struct __rusage64 *usage);
149 struct __rusage64 *usage);
/glibc-2.36/malloc/
Dmtrace.pl27 sub usage { subroutine
55 &usage;
/glibc-2.36/timezone/
Dtzselect.ksh56 usage="Usage: tzselect [--version] [--help] [-c COORD] [-n LIMIT]
158 exec echo "$usage" ;;

123456