[PATCH i-g-t v3 07/10] tests/intel/xe_drm_fdinfo: Half the execution time

Nirmoy Das nirmoy.das at linux.intel.com
Wed Aug 28 14:52:23 UTC 2024


On 8/27/2024 6:54 PM, Lucas De Marchi wrote:
> No need to do 500 msec per subtest. As we add more tests, the total
> execution time of ~ 2.5 sec per subtest make it take too long. Sleep
> half the time to lower the execution time.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>
> ---
>   tests/intel/xe_drm_fdinfo.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_drm_fdinfo.c b/tests/intel/xe_drm_fdinfo.c
> index 9fb739fba..46c96dbe0 100644
> --- a/tests/intel/xe_drm_fdinfo.c
> +++ b/tests/intel/xe_drm_fdinfo.c
> @@ -73,7 +73,7 @@ struct pceu_cycles {
>   	uint64_t total_cycles;
>   };
>   
> -const unsigned long batch_duration_usec = (1 * USEC_PER_SEC) / 2;
> +const unsigned long batch_duration_usec = (1 * USEC_PER_SEC) / 4;
>   
>   static const char *engine_map[] = {
>   	"rcs",


More information about the igt-dev mailing list