mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +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:
parent
75307803a2
commit
8d721dc0f7
4 changed files with 36 additions and 36 deletions
|
@ -123,12 +123,12 @@ private:
|
|||
unsigned inode_faults { 0 };
|
||||
unsigned zero_faults { 0 };
|
||||
unsigned cow_faults { 0 };
|
||||
unsigned unix_socket_read_bytes { 0 };
|
||||
unsigned unix_socket_write_bytes { 0 };
|
||||
unsigned ipv4_socket_read_bytes { 0 };
|
||||
unsigned ipv4_socket_write_bytes { 0 };
|
||||
unsigned file_read_bytes { 0 };
|
||||
unsigned file_write_bytes { 0 };
|
||||
u64 unix_socket_read_bytes { 0 };
|
||||
u64 unix_socket_write_bytes { 0 };
|
||||
u64 ipv4_socket_read_bytes { 0 };
|
||||
u64 ipv4_socket_write_bytes { 0 };
|
||||
u64 file_read_bytes { 0 };
|
||||
u64 file_write_bytes { 0 };
|
||||
float cpu_percent { 0 };
|
||||
float cpu_percent_kernel { 0 };
|
||||
Process& process;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue