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

/osnet-11/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)
/osnet-11/usr/src/lib/libast/common/misc/
H A Ddebug.c47 struct rusage ru;
/osnet-11/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*);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dconf.h27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
H A Dconf.c2750 while ((pid = wait3(&status, WNOHANG, (struct rusage *) NULL)) > 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Dc2ph.PL203 $ru = "\0" x &rusage'sizeof();
207 @ru = unpack($t = &rusage'typedef(), $ru);
209 $utime = $ru[ &rusage'ru_utime + &timeval'tv_sec ]
210 + ($ru[ &rusage'ru_utime + &timeval'tv_usec ]) / 1e6;
212 $stime = $ru[ &rusage'ru_stime + &timeval'tv_sec ]
213 + ($ru[ &rusage'ru_stime + &timeval'tv_usec ]) / 1e6;
236 &rusage'sizeof(&rusage'ru_utime)
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc560 int getrusage(int who, struct rusage *rusage);
1108 pid_t wait3(int *status, int options, struct rusage *rp);
1109 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
/osnet-11/usr/src/common/crypto/ecc/
H A Decp_test.c92 struct rusage ru; \
H A Dec2_test.c93 struct rusage ru; \
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c2476 result = wait4((pid==-1)?0:pid,statusp,flags,Null(struct rusage *));

Completed in 64 milliseconds