[PATCH i-g-t v2 2/2] tests/intel/xe_eu_stall: Add tests for EU stall sampling
Dixit, Ashutosh
ashutosh.dixit at intel.com
Mon Mar 3 19:11:29 UTC 2025
On Tue, 18 Feb 2025 10:21:27 -0800, Harish Chegondi wrote:
>
> +const char *help_str = " --event_count | -e\t\tPoll event report count\n"
> + " --gt_id | -g\t\tGT ID for the GT to sample EU stalls\n"
> + " --output | -o\t\tOutput file to write EU stall data\n"
> + " --rate | -r\t\tSampling rate in GPU cycles\n"
> + " --user_buf_sz | -u\t\tUser buffer size\n"
> + " --workload | -w\t\tWorkload to run\n";
> +
> +static struct option long_options[] = {
> + {"event_count", 0, 0, 'e'},
> + {"gt_id", 0, 0, 'g'},
> + {"output", 0, 0, 'o'},
> + {"rate", 0, 0, 'r'},
> + {"user_buf_sz", 0, 0, 'u'},
> + {"workload", 0, 0, 'w'},
> + { NULL, 0, 0, 0 }
The tests should probably be extended in the future by iterating over some
of these parameters (such as user buffer size, sampling rate, event
count). But this is good patch is good enough starting point, so this is
now:
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
More information about the igt-dev
mailing list