summaryrefslogtreecommitdiffstats
path: root/src/tests/core/core_timing.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-12-23core_timing: remove user data valueLiam1-9/+5
2023-01-05tests: update catch2 to 3.0.1Alexandre Bouvier1-1/+1
2022-10-19core: Partially persist emulation state across game boots.bunnei1-3/+0
2022-07-28Revert Coretiming PRs 8531 and 7454 (#8591)Maide1-3/+1
2022-07-10Rework CoreTimingKelebek11-1/+4
2022-06-28Core: Fix tests.Fernando Sahmkow1-0/+3
2022-06-28Core: Reimplement Core Timing.Fernando Sahmkow1-1/+0
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda1-3/+2
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2021-05-26common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph1-1/+0
* common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2020-08-03tests/core_timing: Remove pragma optimize(off)Lioncash1-9/+5
I made a review comment about this in the PR that this was introduced in (#3955, commit 71c4779211dc081a3b2dd4af52edad5748e7a7f5), but it seems to have been missed. We shouldn't be using this pragma here because it's MSVC specific. This causes warnings on other compilers. The test it's surrounding is *extremely* dubious, but for the sake of silencing warnings on other compilers, we can mark "placebo" as volatile and be on with it.
2020-07-28core_timing: Make use of uintptr_t to represent user_dataLioncash1-2/+2
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
2020-07-16core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash1-6/+8
Enforces our desired time units directly with a concrete type.
2020-07-16core_timing: Make use of std::chrono with ScheduleEventLioncash1-5/+8
2020-06-27Tests/CoreTiming: Correct host timing tests.Fernando Sahmkow1-15/+14
2020-06-27CoreTiming: Correct rebase bugs and other miscellaneous things.Fernando Sahmkow1-4/+6
2020-06-27General: Cleanup legacy code.Fernando Sahmkow1-0/+1
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow1-99/+85
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
2020-04-17General: Resolve warnings related to missing declarationsLioncash1-8/+10
2019-11-27core_timing: Use better reference tracking for EventType. (#3159)bunnei1-66/+18
* core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways.
2019-10-12Core_Timing: Fix tests.Fernando Sahmkow1-2/+2
2019-10-09Core Timing: General corrections and added tests.Fernando Sahmkow1-3/+153
2019-10-09Tests: Eliminate old Core Timing TestsFernando Sahmkow1-193/+0
2019-06-16Core_Timing: Make core_timing threadsafe by default.Fernando Sahmkow1-10/+10
The old implementation had faulty Threadsafe methods where events could be missing. This implementation unifies unsafe/safe methods and makes core timing thread safe overall.
2019-02-16core_timing: Convert core timing into a classLioncash1-103/+112
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash1-84/+85
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
2018-08-08externals: Update catch to 2.3.0Lioncash1-1/+1
Updates the library from 2.2.3 to 2.3.0
2018-01-09CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n301-0/+237
* CoreTiming: New CoreTiming; Add Test for CoreTiming