Commit Graph

701 Commits

Author SHA1 Message Date
Lars Krämer
20221217d4 Frame-timing using chrono 2020-06-24 20:14:24 +02:00
Lars Krämer
22026cbc60 Create MesaClock class, use chrono classes for time points/durations 2020-06-24 14:41:34 +02:00
jackun
0d03b5a150
meson: use gnu_symbol_visibility argument
This uses a meson builtin to handle -fvisibility=hidden.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
2020-06-21 22:55:13 +03:00
FlightlessMango
118a105aa4 Check often if logUpdate has occured 2020-06-21 13:47:22 +02:00
FlightlessMango
e957358786 Force a hw values update on log start 2020-06-21 13:44:12 +02:00
jackun
44060c2b80
Force blacklist re-check at certain points
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
2020-06-21 14:18:56 +03:00
jackun
b098635dd4
Fix trailing whitespace in README.md 2020-06-20 19:54:13 +03:00
FlightlessMango
fbd60a102f Forgotten debugging in logging 2020-06-20 17:35:21 +02:00
FlightlessMango
a9463ae06c Start logging after first update 2020-06-20 17:17:54 +02:00
FlightlessMango
0f171dbd9c Added labels to log csv file 2020-06-20 14:05:21 +02:00
jackun
03ec318d00
Make find_*_ptr function pointers static 2020-06-19 23:44:57 +03:00
jackun
2da02ee553
Try to limit exported symbols with --version-script 2020-06-19 23:42:30 +03:00
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix 2020-06-19 18:57:42 +03:00
FlightlessMango
49bfead602 Documenting log uploading 2020-06-19 17:50:20 +02:00
jackun
612d3b761d
Merge pull request #237 from larskraemer/float_parser
First implementation of custom float parsing
2020-06-19 18:49:57 +03:00
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
2020-06-19 18:32:04 +03:00
FlightlessMango
99cefe96a5 Created logging.cpp 2020-06-19 16:28:55 +02:00
jackun
66ddada43c
Fix readlink overloading for fortified musl
Issue #231
2020-06-19 16:15:49 +03:00
jackun
6887abbea8
Just <limits.h> 2020-06-19 16:01:18 +03:00
jackun
edf9f95517
Use std::locale::classic with confiog file ifstream, just in case 2020-06-19 16:01:18 +03:00
FlightlessMango
916ef02eb2 Revert "Add readlink.c to meson"
This reverts commit 56933049d0.
2020-06-19 14:48:38 +02:00
FlightlessMango
b614734ab6 Revert "Trying to fix issue #231 musl"
This reverts commit 01233e5f1f.
2020-06-19 14:47:24 +02:00
FlightlessMango
56933049d0 Add readlink.c to meson 2020-06-19 14:23:43 +02:00
FlightlessMango
01233e5f1f Trying to fix issue #231 musl 2020-06-19 14:22:09 +02:00
FlightlessMango
8f22ebae44 Also check for pci.ids in /usr/share/misc/ 2020-06-19 14:05:46 +02:00
FlightlessMango
e2ec80d84e Upload log keybind setup 2020-06-19 13:59:19 +02:00
FlightlessMango
8d6ff5bd25 upload log functions 2020-06-19 13:59:07 +02:00
FlightlessMango
6a28a8f7f1 Track log files for current session 2020-06-19 13:58:53 +02:00
FlightlessMango
064c285f31 permit_upload and upload_log params 2020-06-19 13:57:44 +02:00
FlightlessMango
f14c9a7587 Moved exec function in to logging.h 2020-06-19 13:56:45 +02:00
Lars Krämer
3421ad269a Use locale::classic 2020-06-19 13:44:25 +02:00
jackun
441f1d3f3f
Use std::locale::classic() in parse_float() 2020-06-19 14:43:28 +03:00
jackun
d9a09670d8
Replace std::stoi with something that doesn't throw 2020-06-19 13:47:52 +03:00
jackun
e1fb2fbf88
Parse floats in C locale, hopefully 2020-06-19 13:47:30 +03:00
Lars Krämer
4d22927776 Use a stringstream 2020-06-19 12:07:16 +02:00
Lars Krämer
01df8149ab sign bug 2020-06-19 04:26:41 +02:00
Lars Krämer
b8571c27e2 First implementation of custom float parsing 2020-06-19 03:36:55 +02:00
FlightlessMango
8e34e752e5 Merge branch 'master' into develop 2020-06-18 18:15:45 +02:00
flightlessmango
58f0dc4040
Merge pull request #232 from kingdom5500/master
add 0.1% lows to the brief benchmark overlay
2020-06-18 16:52:04 +02:00
Kingsley McDonald
6178c5859c adjust benchHeight for 0.1% and fix percentages. 2020-06-18 15:32:59 +01:00
Kingsley McDonald
053a1d8a44 add 0.1% lows to the brief benchmark overlay 2020-06-18 13:35:46 +01:00
jackun
2809c824e2
Maybe a bit more visible install command 2020-06-18 13:07:08 +03:00
FlightlessMango
ee953decd9 Add bash shebang to mangohud-setup 2020-06-17 00:39:48 +02:00
jackun
5ec6519832
Add media_player_order to set media player metadata order 2020-06-13 22:00:36 +03:00
jackun
db07081617
Use xml.etree.ElementTree 2020-06-13 17:44:20 +03:00
Stephan Lachnit
aa4cb1a4a0 use git archive to build source tarballs
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-12 15:02:04 +03:00
Stephan Lachnit
d956f60f86 remove old system nvml build option
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-12 13:37:12 +03:00
flightlessmango
23aa249fae
Merge pull request #208 from akien-mga/overlay-Werror-format-security
Fix -Wformat-security warning with GCC 10.1
2020-06-12 04:28:42 +02:00
flightlessmango
28c78543dc
Merge pull request #214 from Newbytee/patch-2
Add uninstall instructions to README
2020-06-12 04:28:27 +02:00
FlightlessMango
b9c00fc510 Check pci.ids without gpu_stats 2020-06-12 04:21:19 +02:00