[PR #65] [MERGED] Timers and general refactoring #1259

Closed
opened 2026-02-27 21:11:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/65
Author: @georgemoralis
Created: 10/29/2023
Status: Merged
Merged: 10/31/2023
Merged by: @georgemoralis

Base: mainHead: timers_again


📝 Commits (10+)

  • ce2c7a7 restored previous timer class
  • f732704 implemented fps counter
  • 758ef33 implemented sceKernelGetProcessTime
  • 3602864 added timestamp in buttons state
  • 51dda8e namespace update
  • 0ad40cf implemented sceKernelGetProcessTimeCounter , sceKernelGetProcessTimeCounterFrequency
  • 61e8919 pause emu with p button
  • 6f941c2 reimplemented sceKernelReadTsc in proper package and some abi fixes
  • cfdc45d file_system reorganized (dummy)
  • 93e7548 refactoring Core folder to core

📊 Changes

44 files changed (+494 additions, -177 deletions)

View changed files

📝 CMakeLists.txt (+32 -30)
📝 src/Core/PS4/GPU/gpu_memory.h (+1 -1)
📝 src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp (+5 -4)
📝 src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.h (+2 -2)
📝 src/Core/PS4/HLE/Graphics/video_out.cpp (+6 -6)
📝 src/Core/PS4/HLE/Graphics/video_out.h (+2 -2)
📝 src/Core/PS4/HLE/Kernel/Objects/event_queue.cpp (+7 -6)
📝 src/Core/PS4/HLE/Kernel/Objects/physical_memory.h (+2 -2)
📝 src/Core/PS4/HLE/Kernel/cpu_management.cpp (+1 -1)
📝 src/Core/PS4/HLE/Kernel/event_queues.cpp (+2 -2)
📝 src/Core/PS4/HLE/Kernel/memory_management.cpp (+2 -2)
📝 src/Core/PS4/HLE/LibKernel.cpp (+6 -12)
📝 src/Core/PS4/HLE/LibKernel.h (+0 -1)
📝 src/Core/PS4/HLE/LibSceGnmDriver.cpp (+1 -1)
📝 src/Core/PS4/HLE/Libs.cpp (+7 -7)
📝 src/Core/PS4/HLE/Libs.h (+1 -1)
src/Core/hle/libraries/libkernel/file_system.cpp (+29 -0)
src/Core/hle/libraries/libkernel/file_system.h (+13 -0)
src/Core/hle/libraries/libkernel/time_management.cpp (+24 -0)
src/Core/hle/libraries/libkernel/time_management.h (+13 -0)

...and 24 more files

📄 Description

Added fps counter


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/65 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 10/29/2023 **Status:** ✅ Merged **Merged:** 10/31/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `timers_again` --- ### 📝 Commits (10+) - [`ce2c7a7`](https://github.com/shadps4-emu/shadPS4/commit/ce2c7a7d018d4bcd8496a764d6d3df695fb484f5) restored previous timer class - [`f732704`](https://github.com/shadps4-emu/shadPS4/commit/f732704b83572c6993ec3ba9bcbefcf75a4ca59b) implemented fps counter - [`758ef33`](https://github.com/shadps4-emu/shadPS4/commit/758ef332f265b3159915d6bc0cd536f5a8e68a2f) implemented sceKernelGetProcessTime - [`3602864`](https://github.com/shadps4-emu/shadPS4/commit/36028645235229ee4c318cbb30cde96f6c57fdbb) added timestamp in buttons state - [`51dda8e`](https://github.com/shadps4-emu/shadPS4/commit/51dda8e8a5e3c0b43ca0c08d3afb852a2e24a26c) namespace update - [`0ad40cf`](https://github.com/shadps4-emu/shadPS4/commit/0ad40cff1b48934867b3dbcec186e6a2d1f76ca4) implemented sceKernelGetProcessTimeCounter , sceKernelGetProcessTimeCounterFrequency - [`61e8919`](https://github.com/shadps4-emu/shadPS4/commit/61e8919cf1274e09cf38a347aee67d0b135c903b) pause emu with p button - [`6f941c2`](https://github.com/shadps4-emu/shadPS4/commit/6f941c277adac08589e31cd0ef1d4f2f92820209) reimplemented sceKernelReadTsc in proper package and some abi fixes - [`cfdc45d`](https://github.com/shadps4-emu/shadPS4/commit/cfdc45dfcb10e3a741b3ab7cf4b5a3b191fef4c0) file_system reorganized (dummy) - [`93e7548`](https://github.com/shadps4-emu/shadPS4/commit/93e75481c7bf268cfacf48352383bc3e8dfd6fe8) refactoring Core folder to core ### 📊 Changes **44 files changed** (+494 additions, -177 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+32 -30) 📝 `src/Core/PS4/GPU/gpu_memory.h` (+1 -1) 📝 `src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp` (+5 -4) 📝 `src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.h` (+2 -2) 📝 `src/Core/PS4/HLE/Graphics/video_out.cpp` (+6 -6) 📝 `src/Core/PS4/HLE/Graphics/video_out.h` (+2 -2) 📝 `src/Core/PS4/HLE/Kernel/Objects/event_queue.cpp` (+7 -6) 📝 `src/Core/PS4/HLE/Kernel/Objects/physical_memory.h` (+2 -2) 📝 `src/Core/PS4/HLE/Kernel/cpu_management.cpp` (+1 -1) 📝 `src/Core/PS4/HLE/Kernel/event_queues.cpp` (+2 -2) 📝 `src/Core/PS4/HLE/Kernel/memory_management.cpp` (+2 -2) 📝 `src/Core/PS4/HLE/LibKernel.cpp` (+6 -12) 📝 `src/Core/PS4/HLE/LibKernel.h` (+0 -1) 📝 `src/Core/PS4/HLE/LibSceGnmDriver.cpp` (+1 -1) 📝 `src/Core/PS4/HLE/Libs.cpp` (+7 -7) 📝 `src/Core/PS4/HLE/Libs.h` (+1 -1) ➕ `src/Core/hle/libraries/libkernel/file_system.cpp` (+29 -0) ➕ `src/Core/hle/libraries/libkernel/file_system.h` (+13 -0) ➕ `src/Core/hle/libraries/libkernel/time_management.cpp` (+24 -0) ➕ `src/Core/hle/libraries/libkernel/time_management.h` (+13 -0) _...and 24 more files_ </details> ### 📄 Description Added fps counter --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1259
No description provided.