2367213831
LibMicro is a portable set of microbenchmarks that many Solaris engineers used during Solaris 10 development to measure the performance of various system and library calls. LibMicro was developed by Bart Smaalders and Phil Harman as part of their "If Linux is faster it's a Solaris bug performance" campaign.
13 lines
287 B
Text
13 lines
287 B
Text
$NetBSD: patch-ag,v 1.1.1.1 2009/11/22 00:45:54 jym Exp $
|
|
|
|
--- longjmp.c.orig 2007-07-02 23:17:45.000000000 +0200
|
|
+++ longjmp.c
|
|
@@ -51,7 +51,7 @@ benchmark_init()
|
|
int
|
|
benchmark(void *tsd, result_t *res)
|
|
{
|
|
- int i = 0;
|
|
+ volatile int i = 0;
|
|
jmp_buf env;
|
|
|
|
(void) setjmp(env);
|