diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 20:31:38 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 20:31:38 +0000 |
commit | 1ed9c11c8bac06eee70182600c872f24552e8dd4 (patch) | |
tree | 37ad773785169d6f5ce51000ff58fad81bf95842 /kern/task.h | |
parent | 4c4451c49c52b33f1714f3dd61c055cc84a91a8e (diff) | |
download | gnumach-1ed9c11c8bac06eee70182600c872f24552e8dd4.tar.gz gnumach-1ed9c11c8bac06eee70182600c872f24552e8dd4.tar.bz2 gnumach-1ed9c11c8bac06eee70182600c872f24552e8dd4.zip |
Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/thread.h (struct thread): New member `creation_time'.
* include/mach/thread_info.h: New member `creation_time'.
* kern/thread.c (thread_create): Set creation time stamp.
(thread_info) [THREAD_BASIC_INFO]: Fill in new creation time
field. Carefully preserve compatibility with old callers.
* kern/task.h (struct task): New member `creation_time'.
* include/mach/task_info.h: New member `creation_time'.
* kern/task.c (task_create): Set creation time stamp.
(task_info) [TASK_BASIC_INFO]: Fill in new creation time field.
Carefully preserve compatibility with old callers.
* kern/mach_clock.c (record_time_stamp): New function.
* kern/time_out.h (record_time_stamp): Add prototype.
Diffstat (limited to 'kern/task.h')
-rw-r--r-- | kern/task.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/task.h b/kern/task.h index 52733b9d..ec800589 100644 --- a/kern/task.h +++ b/kern/task.h @@ -86,6 +86,8 @@ struct task { time_value_t total_system_time; /* total system time for dead threads */ + time_value_t creation_time; /* time stamp at creation */ + /* IPC structures */ decl_simple_lock_data(, itk_lock_data) struct ipc_port *itk_self; /* not a right, doesn't hold ref */ |