Re: [PATCH igt 13/16] igt/gem_ctx_switch: Do a warmup pass over all contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2018-02-20 10:45:17)
> Ensure that we always use every context at least once before we start
> running the stress-test.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> ---
>  tests/gem_ctx_switch.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
> index 4db902b1..e0ab3d18 100644
> --- a/tests/gem_ctx_switch.c
> +++ b/tests/gem_ctx_switch.c
> @@ -101,6 +101,13 @@ static void single(int fd, uint32_t handle,
>                 struct timespec start, now;
>                 unsigned int count = 0;
>  
> +               /* Warmup */

/* Warmup to make sure ... */

To make sure what, this is not a benchmark?

Regards, Joonas
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux