Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|