[Piglit] [PATCH 1/2] The initial value for interval should be 0 to get the correct value.

Ian Romanick idr at freedesktop.org
Thu Jul 21 12:56:23 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/14/2011 07:46 PM, Jian Zhao wrote:
> There is some modification to the test before and now we need to adjust the
> intial value of the interval.

Both patches are now pushed.  Thanks.

> Signed-off-by: Jian Zhao <jian.j.zhao at intel.com>
> CC: Jesse Barnes <jbarnes at virtuousgeek.org>
> CC: Chad Versace <chad at chad-versace.us>
> ---
>  tests/glx/glx-swap-event.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/tests/glx/glx-swap-event.c b/tests/glx/glx-swap-event.c
> index c2ef60e..4e14ff9 100644
> --- a/tests/glx/glx-swap-event.c
> +++ b/tests/glx/glx-swap-event.c
> @@ -67,7 +67,7 @@ static int Intel_swap_event=0;
>  int  event_count_total=0, frames_total=0, message_count=0;
>  static double time_call=0.0, time_fin=0.0, time_val=0.0;
>  double swap_start[STACK_L],swap_returned[STACK_L];
> -int interval=1;
> +int interval=0;
>  char * swap_event_type=NULL;
>  /**
>   * Determine whether or not a GLX extension is supported.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk4ohGcACgkQX1gOwKyEAw8/TACdGPR30xDS3EXyCDD1MUT7kmU+
NMUAnim5zGD1eEqdOTfdCy5GgNKvQtg2
=6Qg6
-----END PGP SIGNATURE-----


More information about the Piglit mailing list