diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-04-17 00:46:36 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-27 02:34:45 +0200 |
commit | f9a76508ab2e0b54af753fb017838857a059b3c6 (patch) | |
tree | da58667bd732cd99e60820a5d89c0792a7bcd422 /include/mach/task_info.h | |
parent | 2be047b97235796b9d4a5a51566d252384afc06e (diff) | |
download | gnumach-f9a76508ab2e0b54af753fb017838857a059b3c6.tar.gz gnumach-f9a76508ab2e0b54af753fb017838857a059b3c6.tar.bz2 gnumach-f9a76508ab2e0b54af753fb017838857a059b3c6.zip |
Update task_basic_info and thread_basic_info to include time_value64_t data.
RPCs remain compatible with existing clients but if they know about the
new size then we will populate the new fields.
Message-Id: <ZDzPLCJccKeRB5Pd@mars.tail36e24.ts.net>
Diffstat (limited to 'include/mach/task_info.h')
-rw-r--r-- | include/mach/task_info.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mach/task_info.h b/include/mach/task_info.h index f448ee04..2631b04e 100644 --- a/include/mach/task_info.h +++ b/include/mach/task_info.h @@ -56,11 +56,19 @@ struct task_basic_info { integer_t base_priority; /* base scheduling priority */ rpc_vm_size_t virtual_size; /* number of virtual pages */ rpc_vm_size_t resident_size; /* number of resident pages */ + /* Deprecated, please use user_time64 */ rpc_time_value_t user_time; /* total user run time for terminated threads */ + /* Deprecated, please use system_time64 */ rpc_time_value_t system_time; /* total system run time for terminated threads */ + /* Deprecated, please use creation_time64 */ rpc_time_value_t creation_time; /* creation time stamp */ + time_value64_t user_time64; /* total user run time for + terminated threads */ + time_value64_t system_time64; /* total system run time for + terminated threads */ + time_value64_t creation_time64; /* creation time stamp */ }; typedef struct task_basic_info task_basic_info_data_t; |