rpcsx/rpcs3/Emu/Cell
Eladash 50f51be06a
Improve sys_timer_get_information (#7638)
* Improve sys_timer_get_information

* sys_timer_disconnect_event_queue sets STATE_STOP regardless of port connection status.
* sys_timer_get_information sets 0 for period and next_expire if the timer is stopped.

* Fix two minor races in lv2_timer thread

* If the timer thread is about to fire an event of queue x, then another thread disconnects the queue, then restarts the timer and connects the event queue, then the timer thread sends an event - event data combination (source, data1, data2, next) may be inaccurate.

* If the timer thread is about to send an event (periodically), then another thread stops the timer and starts it again with sys_timer_start_periodic_absolute, timer.expire in info->timer_state in sys_timer_get_information may be inaccurate.
2020-02-29 17:15:25 +03:00
..
lv2 Improve sys_timer_get_information (#7638) 2020-02-29 17:15:25 +03:00
Modules cellSaveData: Add error param 72, 73 checks for file write ops 2020-02-29 13:06:14 +03:00
Common.h Add missing #includes to header files 2019-06-25 17:11:10 +03:00
ErrorCodes.h Random space fixes 2019-10-14 19:42:35 +03:00
MFC.cpp move config structs to own files and clean up some headers 2020-02-17 15:08:17 +03:00
MFC.h Add missing #includes to header files 2019-06-25 17:11:10 +03:00
PPCDisAsm.h fmt::by_value, fmt::Format removed 2015-08-24 21:22:42 +03:00
PPUAnalyser.cpp Fix signed-unsigned comparisons and mark warning as error (part 2). 2020-02-19 22:54:58 +03:00
PPUAnalyser.h Fix signed-unsigned comparisons and mark warning as error (part 2). 2020-02-19 22:54:58 +03:00
PPUCallback.h Increases stack allocation for callbacks. 2018-11-12 15:09:26 +03:00
PPUDisAsm.cpp PPU DisAsm: Again 2019-12-15 19:55:23 +03:00
PPUDisAsm.h PPU Disasm: Fix RC OE enabled instructions view 2019-11-07 14:09:23 +03:00
PPUFunction.cpp Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
PPUFunction.h Log last function on debug pause or exception, dump cpu_thread state on access violation 2019-07-10 17:35:39 +03:00
PPUInterpreter.cpp Disable cotire on travis 2020-02-21 17:03:54 +03:00
PPUInterpreter.h PPU Precise: Fix fused float ops misaccuracy by using fma 2019-10-20 20:58:31 +03:00
PPUModule.cpp Allow 0x30000000 > addr >= 0x2000000 ppu loader exec allocations (workaround) 2020-02-29 13:06:14 +03:00
PPUModule.h hle: cellAuthDialog 2020-02-22 16:03:14 +03:00
PPUOpcodes.h Avoid shifting by greater/equal than max bits values in ppu_rotate_mask 2019-12-22 04:35:57 +03:00
PPUThread.cpp Try to purge thread_state::detached 2020-02-28 21:11:13 +03:00
PPUThread.h Try to purge thread_state::detached 2020-02-28 21:11:13 +03:00
PPUTranslator.cpp Fix signed-unsigned comparisons and mark warning as error (part 2). 2020-02-19 22:54:58 +03:00
PPUTranslator.h Remove unnecessary header includes 2019-06-25 17:11:10 +03:00
RawSPUThread.cpp First part of fixing sign-compare warning (inside be_t). 2020-02-19 22:54:58 +03:00
RawSPUThread.h Migration to named_thread<> 2018-10-19 22:22:35 +03:00
SPUAnalyser.cpp Implement spu_iname helper 2018-07-06 00:33:52 +03:00
SPUAnalyser.h Add missing #includes to header files 2019-06-25 17:11:10 +03:00
SPUASMJITRecompiler.cpp Fix signed-unsigned comparisons and mark warning as error (part 2). 2020-02-19 22:54:58 +03:00
SPUASMJITRecompiler.h SPU: internal refactoring, add spu_program 2019-11-26 00:01:38 +03:00
SPUDisAsm.cpp C-style cast cleanup II 2019-11-30 18:17:45 +03:00
SPUDisAsm.h silence some annoying warnings 2019-12-28 15:40:57 +01:00
SPUInterpreter.cpp Disable cotire on travis 2020-02-21 17:03:54 +03:00
SPUInterpreter.h Migration to named_thread<> 2018-10-19 22:22:35 +03:00
SPUOpcodes.h spu disasm: Show interrupts status modifiers on indirect branches 2019-10-16 00:50:58 +03:00
SPURecompiler.cpp Implement named_thread_group 2020-02-29 16:55:25 +03:00
SPURecompiler.h SPU: internal refactoring, add spu_program 2019-11-26 00:01:38 +03:00
SPUThread.cpp Remove cancerous lf_value<> 2020-02-28 18:54:46 +03:00
SPUThread.h Remove cancerous lf_value<> 2020-02-28 18:54:46 +03:00