aboutsummaryrefslogtreecommitdiff
path: root/src/core/telemetry_session.cpp
AgeCommit message (Collapse)Author
2020-05-19yuzu: Add frontend settings for assembly shadersReinUsesLisp
Add settings for assembly shaders. Currently hidden to avoid users from accidentally enabled them.
2020-04-22UI: Replasce accurate GPU option for GPU Accuracy LevelFernando Sahmkow
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2020-02-25core: settings: Add setting to enable vsync, which is on by default.bunnei
2020-01-29settings: Add settings for graphics backendReinUsesLisp
2019-12-02telemetry_session: Report renderer backendReinUsesLisp
We only have OpenGL as an option for now. Hardcode the entry.
2019-12-02telemetry_session: Use temporary to avoid writing the same enumReinUsesLisp
2019-07-11yuzu: Remove setting for using UnicornLioncash
The JIT is mature enough that this setting can be removed, falling back to Unicorn only on unsupported architectures. Any missing features from Unicorn (of which there are extremely few), are mostly developer-oriented, which most users don't care about. Features should be coordinated with the JIT, not the interpreter, anyhow.
2019-07-04yuzu: Remove CPU Jit setting from the UIfearlessTobi
A normal user shouldn't change this, as it will slow down the emulation and can lead to bugs or crashes. The renaming is done in order to prevent users from leaving this on without a way to turn it off from the UI.
2019-05-28core/telemetry_session: Remove unnecessary web service nulling out in destructorLioncash
This will automatically occur when the backend instance goes out of scope at the end of the destructor's execution.
2019-05-28core/telemetry_session: Remove usages of the global system accessorLioncash
Makes the dependency explicit in the TelemetrySession's interface instead of making it a hidden dependency. This also revealed a hidden issue with the way the telemetry session was being initialized. It was attempting to retrieve the app loader and log out title-specific information. However, this isn't always guaranteed to be possible. During the initialization phase, everything is being constructed. It doesn't mean an actual title has been selected. This is what the Load() function is for. This potentially results in dead code paths involving the app loader. Instead, we explicitly add this information when we know the app loader instance is available.
2019-05-04core/telemetry_session: Only create the backend when we really need itzhupengfei
The backend is not used until we decide to submit the testcase/telemetry, and creating it early prevents users from updating the credentials properly while the games are running.
2019-03-06settings: Add new graphics setting for use_asynchronous_gpu_emulation.bunnei
2019-02-06settings: Hide shader cache behind a settingReinUsesLisp
2018-12-08 web_service: move telemetry condition from TelemetrySession constructor to ↵fearlessTobi
destructor Fixes an issue where Testcases couldn't be sent when Telemetry was disabled, because both things are tied closely together in the backend.
2018-10-28compatdb: Use a seperate endpoint for testcase submissionfearlessTobi
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-09telemetry_session: Add missing includesLioncash
Prevents potential compilation issues in the future by including missing headers for certain functions and types.
2018-10-09telemetry_session: Use a std::array in GenerateTelemetryId()Lioncash
We don't need to potentially heap-allocate a std::string instance here, given the data is known ahead of time. We can just place it within an array and pass this to the mbedtls functions.
2018-10-02Address more review commentsfearlessTobi
2018-10-02Address a bunch of review commentsfearlessTobi
2018-10-02Port web_service from CitrafearlessTobi
2018-09-08Add audio stretching supportfearlessTobi
2018-09-04drd: Parse title ID from program metadataZach Hilman
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-22Merge pull request #840 from FearlessTobi/port-3353bunnei
Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
2018-08-20telemetry_session: Don't allocate std::string instances for program lifetime ↵Lioncash
in GetTelemetryId() and RegenerateTelemetryId() Given these functions aren't intended to be used frequently, there's no need to keep the std::string instances allocated for the whole lifetime of the program. It's just a waste of memory.
2018-08-21Port #3353 from CitrafearlessTobi
2018-08-14common/telemetry: Migrate core-independent info gathering to commonLioncash
Previously core itself was the library containing the code to gather common information (build info, CPU info, and OS info), however all of this isn't core-dependent and can be moved to the common code and use the common interfaces. We can then just call those functions from the core instead. This will allow replacing our CPU detection with Xbyak's which has better detection facilities than ours. It also keeps more architecture-dependent code in common instead of core.
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-27settings: Add a configuration for use_accurate_framebuffers.bunnei
2018-05-10core: Add a configuration setting for use_multi_core.bunnei
2018-04-26core: Replace remaining old non-generic logger usages with fmt-capable ↵Lioncash
equivalents LOG_GENERIC usages will be amended in a follow-up to keep API changes separate from interface changes, as it will require removing a parameter from the relevant function in the VMManager class.
2018-04-02Merge pull request #276 from N00byKing/acctoyuzubunnei
Change Telemetry Names to yuzu and remove links to citra
2018-03-27Change Telemetry Names to yuzuN00byKing
2018-03-26config: Use simplified checkbox (from Citra) for CPU JIT.bunnei
2018-01-19Port citra #3352 to yuzu (#103)River City Ransomware
* Port citra #3352 to yuzu This change allows non x86_64 architectures to compile yuzu by skipping the building of dynarmic * Fixed clang-format errors * fixes more clang-format errors
2018-01-12Removing unused settings and yuzu rebrandingJames Rowe
2018-01-12Remove gpu debugger and get yuzu qt to compileJames Rowe
2018-01-12core: Gut out cryptop, since it doesn't compile with C++17.bunnei
2018-01-12configuration: Add cpu_core configuration optionMerryMage
2017-09-18WebService: Verify username and token (#2930)B3n30
* WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
2017-08-25web_services: Refactor to remove dependency on Core.bunnei
2017-08-25qt: Add an option to view/regenerate telemetry ID.bunnei
2017-08-25telemetry_session: Log telemetry ID.bunnei
2017-08-03telemetry: Add field for OsPlatform.bunnei
2017-08-03telemetry: Add field for BuildName.bunnei
2017-08-03telemetry_session: Log BuildDate and ProgramName fields.bunnei
2017-07-17telemetry: Log performance, configuration, and system data.bunnei