framework/replay: Profile frame times
Improve replay profile by adding a subcommand option which can be either
compare
or profile
. The profile command runs apitrace in benchmark
mode, loops over the final frame 10 times, and collects the GPU durations of the frames.
Edited by Tomeu Vizoso