summaryrefslogtreecommitdiffstats
path: root/src/core/telemetry_session.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-26core: settings: Add setting to enable vsync, which is on by default.bunnei1-0/+1
2020-01-29settings: Add settings for graphics backendReinUsesLisp1-1/+11
2019-12-02telemetry_session: Report renderer backendReinUsesLisp1-0/+1
We only have OpenGL as an option for now. Hardcode the entry.
2019-12-02telemetry_session: Use temporary to avoid writing the same enumReinUsesLisp1-16/+11
2019-07-11yuzu: Remove setting for using UnicornLioncash1-1/+0
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 UIfearlessTobi1-1/+1
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-29core/telemetry_session: Remove unnecessary web service nulling out in destructorLioncash1-2/+1
This will automatically occur when the backend instance goes out of scope at the end of the destructor's execution.
2019-05-29core/telemetry_session: Remove usages of the global system accessorLioncash1-28/+32
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 itzhupengfei1-8/+9
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-07settings: Add new graphics setting for use_asynchronous_gpu_emulation.bunnei1-0/+2
2019-02-07settings: Hide shader cache behind a settingReinUsesLisp1-0/+2
2018-12-08 web_service: move telemetry condition from TelemetrySession constructor to destructorfearlessTobi1-8/+4
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 submissionfearlessTobi1-0/+9
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei1-2/+2
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-09telemetry_session: Add missing includesLioncash1-2/+4
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()Lioncash1-2/+4
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 commentsfearlessTobi1-1/+1
2018-10-02Address a bunch of review commentsfearlessTobi1-5/+6
2018-10-02Port web_service from CitrafearlessTobi1-12/+39
2018-09-08Add audio stretching supportfearlessTobi1-0/+3
2018-09-04drd: Parse title ID from program metadataZach Hilman1-3/+21
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash1-0/+1
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-21telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()Lioncash1-4/+4
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 CitrafearlessTobi1-2/+3
2018-08-15common/telemetry: Migrate core-independent info gathering to commonLioncash1-62/+7
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()Lioncash1-2/+4
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-03Rename logging macro back to LOG_*James Rowe1-3/+3
2018-06-27settings: Add a configuration for use_accurate_framebuffers.bunnei1-0/+2
2018-05-11core: Add a configuration setting for use_multi_core.bunnei1-0/+2
2018-04-26core: Replace remaining old non-generic logger usages with fmt-capable equivalentsLioncash1-3/+3
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-03-27Change Telemetry Names to yuzuN00byKing1-2/+2
2018-03-27config: Use simplified checkbox (from Citra) for CPU JIT.bunnei1-2/+3
2018-01-20Port citra #3352 to yuzu (#103)River City Ransomware1-1/+9
* 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-13Removing unused settings and yuzu rebrandingJames Rowe1-9/+0
2018-01-13Remove gpu debugger and get yuzu qt to compileJames Rowe1-5/+0
2018-01-13core: Gut out cryptop, since it doesn't compile with C++17.bunnei1-3/+0
2018-01-12configuration: Add cpu_core configuration optionMerryMage1-1/+2
2017-09-19WebService: Verify username and token (#2930)B3n301-0/+12
* 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-26web_services: Refactor to remove dependency on Core.bunnei1-1/+7
2017-08-26qt: Add an option to view/regenerate telemetry ID.bunnei1-3/+16
2017-08-26telemetry_session: Log telemetry ID.bunnei1-0/+36
2017-08-04telemetry: Add field for OsPlatform.bunnei1-0/+9
2017-08-04telemetry: Add field for BuildName.bunnei1-0/+1
2017-08-04telemetry_session: Log BuildDate and ProgramName fields.bunnei1-0/+7
2017-07-18telemetry: Log performance, configuration, and system data.bunnei1-10/+66
2017-07-12web_service: Add CMake flag to enable.bunnei1-2/+8
2017-07-12telemetry_session: Use TelemetryJson to submit real telemetry.bunnei1-2/+2
2017-05-25telemetry: Log a few simple data fields throughout core.bunnei1-0/+18
2017-05-25core: Keep track of telemetry for the current emulation session.bunnei1-0/+24