8Bit on Nostr: #Gamedev pro tip (i.e. everyone probably knows that): Upon profiling your game, ...
#Gamedev pro tip (i.e. everyone probably knows that):
Upon profiling your game, create yourself a power plan which pins the power management to 100%. If I remember correctly, on Linux you should be able to do that via cpupower.
This should mitigate aggressive frequency changes (at least to a degree) and give you more accurate measurements of CPU time.
I dunno if this helps for AMD users. Listen, AMDs power management is fucked (after all my (too many) experiences). You're on your own.
Upon profiling your game, create yourself a power plan which pins the power management to 100%. If I remember correctly, on Linux you should be able to do that via cpupower.
This should mitigate aggressive frequency changes (at least to a degree) and give you more accurate measurements of CPU time.
I dunno if this helps for AMD users. Listen, AMDs power management is fucked (after all my (too many) experiences). You're on your own.