summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-22 00:28:57 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-22 00:29:00 +0200
commit086afe3375ee1fe3cda34c1b2302bdd6c95ebc0b (patch)
tree734c3f11a4bbffa939e0d79fca0eb5a385c1dfe8 /src
parent5f2b8fa3134a2b7a4225a410c4220400b53d5e75 (diff)
downloadlibtasn1-086afe3375ee1fe3cda34c1b2302bdd6c95ebc0b.tar.gz
libtasn1-086afe3375ee1fe3cda34c1b2302bdd6c95ebc0b.tar.bz2
libtasn1-086afe3375ee1fe3cda34c1b2302bdd6c95ebc0b.zip
increased benchmark time
Diffstat (limited to 'src')
-rw-r--r--src/benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark.c b/src/benchmark.c
index 8ab3f8c..f18ed1c 100644
--- a/src/benchmark.c
+++ b/src/benchmark.c
@@ -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
}