diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 20:30:51 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 20:30:51 +0000 |
commit | 4c4451c49c52b33f1714f3dd61c055cc84a91a8e (patch) | |
tree | 56ba087af71702101dd4d5a3f2c11f34f0bc1103 /include | |
parent | fd2c219549a170eab41b99fd4588be88348d6d3d (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/mach/task_info.h | 1 | ||||
-rw-r--r-- | include/mach/thread_info.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mach/task_info.h b/include/mach/task_info.h index fdcbeb1..5607178 100644 --- a/include/mach/task_info.h +++ b/include/mach/task_info.h @@ -60,6 +60,7 @@ struct task_basic_info { terminated threads */ time_value_t system_time; /* total system run time for terminated threads */ + time_value_t creation_time; /* creation time stamp */ }; typedef struct task_basic_info task_basic_info_data_t; diff --git a/include/mach/thread_info.h b/include/mach/thread_info.h index 2c79829..60e8ba7 100644 --- a/include/mach/thread_info.h +++ b/include/mach/thread_info.h @@ -65,6 +65,7 @@ struct thread_basic_info { integer_t suspend_count; /* suspend count for thread */ integer_t sleep_time; /* number of seconds that thread has been sleeping */ + time_value_t creation_time; /* time stamp of creation */ }; typedef struct thread_basic_info thread_basic_info_data_t; |