summaryrefslogtreecommitdiffstats
path: root/sys/sys/resourcevar.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-05-04 05:55:37 +0000
committerkib <kib@FreeBSD.org>2010-05-04 05:55:37 +0000
commitb13e838a49a86619bcc78aaa13a3fdcc17293aa5 (patch)
tree607fa0661a8fb4c016477405d29c913c90a47687 /sys/sys/resourcevar.h
parentd84ce0b37bb086689cb7019c3e58d907993c5e09 (diff)
downloadFreeBSD-src-b13e838a49a86619bcc78aaa13a3fdcc17293aa5.zip
FreeBSD-src-b13e838a49a86619bcc78aaa13a3fdcc17293aa5.tar.gz
Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and ticks
information for thread to allow calcru1() (re)use. Rename ruxagg()->ruxagg_locked(), ruxagg_tlock()->ruxagg() [1]. The ruxagg_locked() function no longer clears thread ticks nor td_incruntime. Requested by: attilio [1] Discussed with: attilio, bde Reviewed by: bde Based on submission by: Alexander Krizhanovsky <ak natsys-lab com> MFC after: 1 week X-MFC-Note: td_rux shall be moved to the end of struct thread
Diffstat (limited to 'sys/sys/resourcevar.h')
-rw-r--r--sys/sys/resourcevar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index 21728aa..95a9b49 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -131,7 +131,7 @@ void rucollect(struct rusage *ru, struct rusage *ru2);
void rufetch(struct proc *p, struct rusage *ru);
void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up,
struct timeval *sp);
-void ruxagg(struct rusage_ext *rux, struct thread *td);
+void ruxagg_locked(struct rusage_ext *rux, struct thread *td);
int suswintr(void *base, int word);
struct uidinfo
*uifind(uid_t uid);
OpenPOWER on IntegriCloud