summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/pthread_private.h
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-12-21 07:41:32 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-12-21 07:41:32 +0000
commit3bd93c4b0488a562ddd434f4679e19331948ec3a (patch)
treeb3b455b03de2fedb99cf073dc36652e25d81d9a4 /lib/libpthread/uthread/pthread_private.h
parent447e300b19ab34eecb05ea8f02915e0de86ad626 (diff)
resource accounting
Diffstat (limited to 'lib/libpthread/uthread/pthread_private.h')
-rw-r--r--lib/libpthread/uthread/pthread_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 96d53c36d4e..d562003026a 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -383,6 +383,12 @@ struct pthread {
long slice_usec;
/*
+ * Cumulative times spent in thread
+ */
+ struct timeval ru_utime;
+ struct timeval ru_stime;
+
+ /*
* Incremental priority accumulated by thread while it is ready to
* run but is denied being run.
*/