Commit Graph

7 Commits

Author SHA1 Message Date
jackun
e555a942fb
Use single IO stats instance 2022-02-18 16:44:10 +02:00
jackun
37d8c75c78 Skip calculating IO stats for first sample
Or you get high read/write speeds averaged over process' whole lifetime.
2021-06-11 17:55:09 +02:00
Lukáš Horáček
8f3ecb81df Divide IO stats by time difference since last update
This should prevent IO stats reaching high numbers when application stops responding resulting into MangoHud not updating.
2021-03-13 17:10:25 +02:00
FlightlessMango
d1af7c97ac Removed lingering pthread.h 2020-12-04 04:46:14 +01:00
larskraemer
a28931ef6b
General cleanup (#272)
* Cleanup unused struct fields, use uniform include guards
2020-07-06 20:31:40 +03:00
FlightlessMango
bff9958284 Changed pthreads to std::thread 2020-05-01 23:55:21 +02:00
jackun
f8398c3e7a Add I/O stats
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
2020-03-07 02:07:24 +01:00