projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2b8fa
)
increased benchmark time
author
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Fri, 21 Sep 2012 22:28:57 +0000
(
00:28
+0200)
committer
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Fri, 21 Sep 2012 22:29:00 +0000
(
00:29
+0200)
src/benchmark.c
patch
|
blob
|
history
diff --git
a/src/benchmark.c
b/src/benchmark.c
index
8ab3f8c
..
f18ed1c
100644
(file)
--- 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
}