1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:18:12 +00:00

Kernel+LibCore+SystemMonitor: Make thread statistics values 64-bit

Thread statistics values which count bytes are now 64-bit. This avoids
overflow when these values go above 4GiB.
This commit is contained in:
Tim Ledbetter 2023-06-10 19:29:48 +01:00 committed by Sam Atkins
parent 75307803a2
commit 8d721dc0f7
4 changed files with 36 additions and 36 deletions

View file

@ -22,12 +22,12 @@ struct ThreadStatistics {
unsigned inode_faults;
unsigned zero_faults;
unsigned cow_faults;
unsigned unix_socket_read_bytes;
unsigned unix_socket_write_bytes;
unsigned ipv4_socket_read_bytes;
unsigned ipv4_socket_write_bytes;
unsigned file_read_bytes;
unsigned file_write_bytes;
u64 unix_socket_read_bytes;
u64 unix_socket_write_bytes;
u64 ipv4_socket_read_bytes;
u64 ipv4_socket_write_bytes;
u64 file_read_bytes;
u64 file_write_bytes;
DeprecatedString state;
u32 cpu;
u32 priority;