Posts: 34
Threads: 3
Joined: Nov 2016
Reputation:
0
Location: Nowhere
I'd like to start work with PGO.
Quick question: if I compile with -fprofile-generate, play a game for ~30 minutes, and then recompile with -fuse-profile, wouldn't PCSX2 be optimized for the first ~30 minutes of the game?
Is anyone working on this yet?
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
The best is to use save state/card, to play a bit various scene. Rather 30 minutes to the same place. It will allow GCC to detect the cold/mid/hot path. A hot path in one game can be a cold one in another game. Based on Windows behavior, it could help to gain a couple of fps but don't expect miracle.