Searched refs:rusage (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetrusage.c40 * fully support BSD's rusage semantics.
58 int __rusagesys(int, struct rusage *);
61 getrusage(int who, struct rusage *rusage) argument
66 return (__rusagesys(_RUSAGESYS_GETRUSAGE, rusage));
69 return (__rusagesys(_RUSAGESYS_GETRUSAGE_LWP, rusage));
72 return (__rusagesys(_RUSAGESYS_GETRUSAGE_CHLD, rusage));
H A Dwaitpid.c117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp)
127 (void) memset(rp, 0, sizeof (struct rusage));
188 wait3(int *stat_loc, int options, struct rusage *rp)
/illumos-gate/usr/src/ucbhead/sys/
H A Drusage.h45 struct rusage { struct
H A Dresource.h46 #include <sys/rusage.h>
H A Dwait.h155 extern pid_t wait4(pid_t, int *, int, struct rusage *);
156 extern pid_t wait3(int *, int, struct rusage *);
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait3.c54 wait3(int *status, int options, struct rusage *rp)
H A Dwait4.c55 * Since sysV does not support rusage as in BSD, an approximate approach
62 * rusage ~= diff in the 2 times call
72 wait4(pid_t pid, int *status, int options, struct rusage *rp)
87 (void) memset(rp, 0, sizeof (struct rusage));
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dvtimes.c49 static void getvtimes(struct rusage *, struct vtimes *);
55 struct rusage ru;
71 getvtimes(struct rusage *aru, struct vtimes *avt)
/illumos-gate/usr/src/cmd/csh/
H A Dsh.time.c20 void ruadd(struct rusage *ru, struct rusage *ru2);
21 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e,
34 struct rusage ruch;
53 struct rusage ru1, ruch;
88 ruadd(struct rusage *ru, struct rusage *ru2)
93 * The SunOS 4.x <sys/rusage.h> has ru_first and ru_last #defines
96 * struct rusage
[all...]
H A Dsh.proc.h41 struct rusage p_rusage;
H A Dwait.h100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
H A Dwait3.c33 * Since sysV does not support rusage as in BSD, an approximate approach
40 * rusage ~= diff in the 2 times call
61 csh_wait3(int *status, int options, struct rusage *rp)
69 memset((void *)rp, 0, sizeof (struct rusage));
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dresource.h49 struct rusage { struct
/illumos-gate/usr/src/ucbcmd/rusage/
H A DMakefile26 PROG= rusage
/illumos-gate/usr/src/lib/libast/common/misc/
H A Ddebug.c47 struct rusage ru;
/illumos-gate/usr/src/uts/common/sys/
H A Dwait.h105 extern pid_t wait3(int *, int, struct rusage *);
110 extern pid_t wait4(pid_t, int *, int, struct rusage *);
H A Dresource.h171 struct rusage { struct
190 #define _RUSAGESYS_GETRUSAGE 0 /* rusage process */
191 #define _RUSAGESYS_GETRUSAGE_CHLD 1 /* rusage child process */
192 #define _RUSAGESYS_GETRUSAGE_LWP 2 /* rusage lwp */
273 extern int getrusage(int, struct rusage *);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dwaitpid.c41 struct rusage;
43 extern int wait4(int, int*, int, struct rusage*);
57 extern int wait3(int*, int, struct rusage*);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c189 struct rusage rusage; local
203 if (getrusage(RUSAGE_SELF, &rusage) == 0) {
206 rusage.ru_utime.tv_sec, rusage.ru_utime.tv_usec,
207 rusage.ru_stime.tv_sec, rusage.ru_stime.tv_usec);
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c200 static void rusage(void);
281 rusage();
700 rusage();
714 rusage();
734 rusage(); /* exit */
744 rusage();
763 rusage(); /* exit */
776 rusage(); /* exit */
795 rusage(); /* exit */
808 rusage(); /* exi
1759 rusage(void) function
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c51 * Since sysV does not support rusage as in BSD, an approximate approach
58 * rusage ~= diff in the 2 times call
158 wait3(int *status, int options, struct rusage *rp)
169 wait4(int pid, int *status, int options, struct rusage *rp)
184 memset(rp, 0, sizeof(struct rusage));
/illumos-gate/usr/src/ucbcmd/
H A DMakefile52 rusage \
71 MSGSUBDIRS = biff install.d mkstr rusage shutdown
/illumos-gate/usr/src/man/man1b/
H A DMakefile45 rusage.1b \
/illumos-gate/usr/src/uts/common/syscall/
H A Drusagesys.c40 struct rusage r;
46 bzero(&r, sizeof (struct rusage));
125 struct rusage r;
130 bzero(&r, sizeof (struct rusage));
187 struct rusage r;
193 bzero(&r, sizeof (struct rusage));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.h27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */

Completed in 257 milliseconds

12