Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core_timing: Convert core timing into a class | Lioncash | 2019-02-16 | 1 | -109/+80 |
| | | | | | | | | | | | 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. | ||||
* | Merge pull request #2115 from lioncash/local | bunnei | 2019-02-14 | 1 | -3/+3 |
|\ | | | | | core_timing: Make EmptyTimedCallback a local variable | ||||
| * | core_timing: Make EmptyTimedCallback a local variable | Lioncash | 2019-02-13 | 1 | -3/+3 |
| | | | | | | | | | | Given this is only used in one place, it can be moved closest to its usage site. | ||||
* | | threadsafe_queue: Remove NeedSize template parameter | Lioncash | 2019-02-13 | 1 | -2/+2 |
|/ | | | | | | The necessity of this parameter is dubious at best, and in 2019 probably offers completely negligible savings as opposed to just leaving this enabled. This removes it and simplifies the overall interface. | ||||
* | core_timing: Rename CoreTiming namespace to Core::Timing | Lioncash | 2019-02-12 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | Core::CoreTiming: add UnscheduleEventThreadsafe | B3n30 | 2018-08-13 | 1 | -0/+10 |
| | |||||
* | Kernel/Thread: Always use the threadsafe option when scheduling wakeups. | Subv | 2018-08-13 | 1 | -2/+0 |
| | | | | | | WakeAfterDelay might be called from any host thread, so err on the side of caution and use the thread-safe CoreTiming::ScheduleEventThreadsafe. Note that CoreTiming is still far from thread-safe, there may be more things we have to work on for it to be up to par with what we want. | ||||
* | Merge pull request #934 from lioncash/chrono | bunnei | 2018-08-07 | 1 | -2/+2 |
|\ | | | | | core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds | ||||
| * | core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds | Lioncash | 2018-08-06 | 1 | -2/+2 |
| | | | | | | | | | | Enforces the time unit being returned and also allows using the standard time utilities to manipulate it. | ||||
* | | core_timing: Use transparent functors where applicable | Lioncash | 2018-08-06 | 1 | -5/+5 |
|/ | | | | | | Gets rid of the need to hardcode the type in multiple places. This will now be deduced automatically, based off the elements in the container being provided to the algorithm. | ||||
* | core_timing: Split off utility functions into core_timing_util | MerryMage | 2018-07-24 | 1 | -52/+1 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -8/+8 |
| | |||||
* | core_timing: Don't include the log header in core timing's header | Lioncash | 2018-05-03 | 1 | -1/+51 |
| | | | | | Avoids propagating logging macros and facilities to files that may not need them. This also allows hiding an internal constant. | ||||
* | general: Convert assertion macros over to be fmt-compatible | Lioncash | 2018-04-27 | 1 | -1/+1 |
| | |||||
* | Fixes some cast warnings, partial port of citra #3064 (#106) | River City Ransomware | 2018-01-20 | 1 | -2/+2 |
| | | | | | | | | * Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format | ||||
* | CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119) | B3n30 | 2018-01-09 | 1 | -467/+143 |
| | | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming | ||||
* | core_timing: Increase clock speed for Switch docked. | bunnei | 2018-01-07 | 1 | -1/+1 |
| | |||||
* | Moved down_count to CoreTiming | Huw Pascoe | 2017-09-30 | 1 | -13/+23 |
| | |||||
* | CoreTiming: use named constant for ARM11 clock rate | wwylele | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | core: Replace "AppCore" nomenclature with just "CPU". | bunnei | 2016-12-22 | 1 | -13/+13 |
| | |||||
* | core: Consolidate core and system state, remove system module & cleanups. | bunnei | 2016-12-22 | 1 | -14/+13 |
| | |||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -3/+1 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -4/+2 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -19/+16 |
| | |||||
* | general: Silence some warnings when using clang | Lioncash | 2015-09-16 | 1 | -1/+2 |
| | |||||
* | general: Replace 0 literals with nullptr where applicable | Lioncash | 2015-09-12 | 1 | -1/+1 |
| | |||||
* | Core : Fix Conversion Warnings | zawata | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | Core: Cleanup core includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -2/+1 |
| | |||||
* | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | CoreTiming: Initialize static variables at bootup. | bunnei | 2015-05-02 | 1 | -0/+10 |
| | |||||
* | Remove the useless msg_handler compilation unit that was left over from Dolphin | archshift | 2015-02-19 | 1 | -2/+2 |
| | |||||
* | core/video_core: Use in-place construction where possible | Lioncash | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Merge pull request #529 from Subv/master | bunnei | 2015-02-14 | 1 | -5/+5 |
|\ | | | | | Build: Fixed some warnings | ||||
| * | Build: Fixed some warnings | Subv | 2015-02-12 | 1 | -5/+5 |
| | | |||||
* | | core: Apply static to local functions | Lioncash | 2015-02-13 | 1 | -7/+7 |
|/ | |||||
* | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 1 | -1/+1 |
| | | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | ||||
* | core_timing: Mark several variables as static | Lioncash | 2015-01-20 | 1 | -14/+14 |
| | | | | These are only used in this translation unit. | ||||
* | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | 2015-01-09 | 1 | -0/+2 |
| | |||||
* | CoreTiming: Ported the CoreTiming namespace from PPSSPP | Subv | 2015-01-07 | 1 | -394/+315 |
| | | | | | | Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing. | ||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -4/+4 |
| | |||||
* | Change NULLs to nullptrs. | Rohit Nirmal | 2014-12-03 | 1 | -6/+6 |
| | |||||
* | Remove tabs in all files except in skyeye imports and in generated GL code | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -24/+24 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -2/+2 |
| | |||||
* | Core: Replace a sprintf in core_timing with StringFromFormat | Lioncash | 2014-09-13 | 1 | -5/+7 |
| | |||||
* | Removed common/std_xyz, instead using the std header | archshift | 2014-09-07 | 1 | -1/+1 |
| | |||||
* | Removed common/atomic, instead using std::atomic | archshift | 2014-09-03 | 1 | -4/+4 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -6/+7 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+623 |