FlightlessMango
3261d12ad7
Add checking cpu scheduler
4 years ago
FlightlessMango
1a8689fbba
Add gpu power to logs
4 years ago
FlightlessMango
9af4ac546f
No need to convert cpu_load
4 years ago
FlightlessMango
3827fe96d4
Add autostart_log param
4 years ago
FlightlessMango
d0c9176d6d
Log frametime as nanoseconds
4 years ago
FlightlessMango
3dc3c82522
Add frametime to log
4 years ago
FlightlessMango
6a443f35ac
Upload multiple logs
4 years ago
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
4 years ago
Lars Krämer
329725c134
Move Log uploading; Cleanup
4 years ago
Lars Krämer
4101237fdd
Move logging functionality into a class
4 years ago
Lars Krämer
22026cbc60
Create MesaClock class, use chrono classes for time points/durations
4 years ago
FlightlessMango
a9463ae06c
Start logging after first update
4 years ago
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix
4 years ago
larskraemer
ecd84c8cc0
Logging options ( #234 )
...
* Added config options for logging
* Documentation
* Log everything
* Add RAM/VRAM usage to the log
* add loggingOn-check for memory usage
* Always init GPU stats
* Move functions from logging.h to logging.cpp, remove params from writeFile
4 years ago
FlightlessMango
99cefe96a5
Created logging.cpp
4 years ago
FlightlessMango
8d6ff5bd25
upload log functions
4 years ago
FlightlessMango
6a28a8f7f1
Track log files for current session
4 years ago
FlightlessMango
f14c9a7587
Moved exec function in to logging.h
4 years ago
FlightlessMango
135f3a5009
Fixing compiler warnings and removing control
4 years ago
FlightlessMango
52989a727e
Cleaning up for after change to log_interval
4 years ago
FlightlessMango
128fbd4b88
Per frame logging use output_file and date
4 years ago
FlightlessMango
357a819d67
Removed some debugging in logging
4 years ago
FlightlessMango
096fb626a3
Fixed logging date
4 years ago
FlightlessMango
75f9128ce5
Redesigned logging, adding quick benchmark
4 years ago
FlightlessMango
0964f517b7
Change LogData previous to uint64_t
4 years ago
FlightlessMango
2e1861ea09
Changed elapsedlog to int64_t
4 years ago
FlightlessMango
bff9958284
Changed pthreads to std::thread
4 years ago
André Almeida
f07aea54b6
logging: check if duration is enabled before checking if it has expired
...
If we check if log_duration is enabled before checking if it has expired
we can save some math and comparison instructions on every log write.
5 years ago
André Almeida
0a942512e9
logging: don't sleep if time is over
5 years ago
André Almeida
0303f8de28
logging: write log to a memory buffer
...
Instead of writing every line of the log to the file (and, consequently,
to the disk), write to a memory buffer first and after the log finishes
flush from memory to disk. This improve the performance of the tool, since
it avoids making the program blocked by disk IO.
5 years ago
André Almeida
4830268a11
logging: fix indentation
5 years ago
FlightlessMango
e24f5dfc8b
added log_duration param and updated readme
5 years ago
FlightlessMango
d1bdf71580
added MANGOHUD_OUTPUT to params as output_file
5 years ago
FlightlessMango
d20a92a0c4
Write system info to log file
5 years ago
jackun
6d3d869586
Fix system info and stats parsing
5 years ago
telans
e82e3721b7
update header location & duration_env
5 years ago
FlightlessMango
dd78c02ed8
MangoHud Standalone
...
Co-authored-by: jackun <jack.un@gmail.com>
Co-authored-by: telans <telans@protonmail.com>
5 years ago