jak-project/game/system
Tyler Wilding 1cc20508e9
tracing: add some more startup related events and a new --profile-until-event flag (#3385)
While trying to narrow down why sometimes SDL takes 20-40seconds to
initialize I built up some more profiling features.

TLDR - I still don't know why SDL is taking a long time but I've
narrowed it down to it initializing the `GAME_CONTROLLER` subsystem.
This isn't unprecedented, I found numerous github issues and articles
suggesting this is the problem:

![image](https://github.com/open-goal/jak-project/assets/13153231/1853326b-7a40-458e-87a0-f7a9f44781e3)

I imagine it is hardware/OS related on some level, there are even some
recent commits in SDL that have made it worse on certain platforms. I've
had this problem myself so I will hope to get it again soon so i can
debug where in the SDL code the delay occurs and make a proper bug
report. Hopefully this helps but it's not yet confirmed -
https://github.com/open-goal/jak-project/pull/3384
2024-02-23 14:44:17 -05:00
..
hid tracing: add some more startup related events and a new --profile-until-event flag (#3385) 2024-02-23 14:44:17 -05:00
background_worker.cpp g/j2: Integrate highscores with Speedrun.com/JakSpeedruns.com when speedrunner mode is enabled (#3037) 2023-10-11 20:43:55 -04:00
background_worker.h g/j2: Integrate highscores with Speedrun.com/JakSpeedruns.com when speedrunner mode is enabled (#3037) 2023-10-11 20:43:55 -04:00
Deci2Server.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
Deci2Server.h [jak2] goalc supports multiple projects (#1619) 2022-07-06 21:18:08 -04:00
deci_common.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
IOP_Kernel.cpp jak2: overlord rework (#2544) 2023-04-29 16:13:57 -04:00
IOP_Kernel.h jak2: overlord rework (#2544) 2023-04-29 16:13:57 -04:00
iop_thread.cpp Implement scheduling of IOP threads. (#1689) 2022-07-26 21:15:37 -04:00
iop_thread.h Implement scheduling of IOP threads. (#1689) 2022-07-26 21:15:37 -04:00
SystemThread.cpp support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
SystemThread.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00