trace_replay: Retrieve performance metrics for timed out replays

Retrieve performance metrics even if replay can't be finished in time.
In this case instead of failing with timout error we will try to
replay as many frames as possible and return obtained metrics with
successful result. The actual replayed frames count will be returned
as well.

TEST=tested on local dut

Change-Id: I8c478c34509298775daf33b424493ee313febc9d
Reviewed-by: Po-Hsien Wang <>
Reviewed-by: Ilja Friedel <>
Tested-by: Robert Tarasov <>
Commit-Queue: Robert Tarasov <>
1 file changed