summaryrefslogtreecommitdiff
path: root/replayer
AgeCommit message (Collapse)AuthorFilesLines
2021-05-20tests: Replay profile frame timesAntonio Caggiano1-0/+8
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 a number of times, and collects the GPU durations of the frames. Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Rohan Garg <rohan.garg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/483>
2021-05-20framework/replay: Use the Status enum from the frameworkTomeu Vizoso1-3/+3
I would need to add a new Result enum that contains PASS and FAIL for the profile subcommand, but then the transformations from Result to Status looks quite pointless. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Rohan Garg <rohan.garg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/483>
2020-11-02replayer: add replayer executableAndres Gomez3-0/+392
v2: - Update the README.md with further documentation. v3: - Exit with "1" when the inner result is negative, marking a CRASH, and with "2" when the inner result is positive, marking a FAIL. v4: - Use newly added compare result enumeration. Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/353>