increased benchmark time
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 21 Sep 2012 22:28:57 +0000 (00:28 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 21 Sep 2012 22:29:00 +0000 (00:29 +0200)
src/benchmark.c

index 8ab3f8c..f18ed1c 100644 (file)
@@ -102,14 +102,14 @@ void start_benchmark(struct benchmark_st * st)
       fprintf (stderr, "error: CreateThread %u\n", GetLastError ());
       exit(1);
     }
-  st->alarm_timeout.QuadPart = (2) * 10000000;
+  st->alarm_timeout.QuadPart = (5) * 10000000;
   if (SetWaitableTimer (st->wtimer, &st->alarm_timeout, 0, NULL, NULL, FALSE) == 0)
     {
       fprintf (stderr, "error: SetWaitableTimer %u\n", GetLastError ());
       exit(1);
     }
 #else
-  alarm (2);
+  alarm (5);
 #endif
   
 }