easiest way to log and save basic GPU stats in a file?

I need to log the basic GPU stats (computation times) in a file while testing in the unreal engine editor so that I can analize them afterwards.
What would be the easiest way of doing that? I’m using UE 5.1

  • no preference for blueprint, the solution can employ blueprint or not.
  • I don’t need to log the synchronized events (it is ok if they are added too, i just dont have to have them). I just need the plain basic stats as time goes by.

Any constructive feedback is appreciated. Cheers!