Commit Graph

7 Commits (master)

Author SHA1 Message Date
jackun e555a942fb
Use single IO stats instance 2 years ago
jackun 37d8c75c78 Skip calculating IO stats for first sample
Or you get high read/write speeds averaged over process' whole lifetime.
3 years ago
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.
3 years ago
FlightlessMango d1af7c97ac Removed lingering pthread.h 4 years ago
larskraemer a28931ef6b
General cleanup (#272)
* Cleanup unused struct fields, use uniform include guards
4 years ago
FlightlessMango bff9958284 Changed pthreads to std::thread 4 years ago
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).
4 years ago