From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 30 02:10:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1D4C16A4CE for ; Sun, 30 May 2004 02:10:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF59C43D39 for ; Sun, 30 May 2004 02:10:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4U9AOek092748 for ; Sun, 30 May 2004 02:10:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4U9AO9T092747; Sun, 30 May 2004 02:10:24 -0700 (PDT) (envelope-from gnats) Date: Sun, 30 May 2004 02:10:24 -0700 (PDT) Message-Id: <200405300910.i4U9AO9T092747@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Pav Lucistnik Subject: Re: ports/67159: benchmarks/stream: checksum update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pav Lucistnik List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 09:10:25 -0000 The following reply was made to PR ports/67159; it has been noted by GNATS. From: Pav Lucistnik To: freebsd-gnats-submit@FreeBSD.org, bogorodskiy@inbox.ru Cc: Subject: Re: ports/67159: benchmarks/stream: checksum update Date: Sun, 30 May 2004 11:03:46 +0200 Here is the diff between old and new distfile: diff -ruN old/second_cpu.c new/second_cpu.c --- old/second_cpu.c Tue Oct 24 22:47:59 1995 +++ new/second_cpu.c Tue Apr 8 17:25:14 2003 @@ -3,7 +3,7 @@ #include #include -double second() +double mysecond() { long sec; double secx; diff -ruN old/stream_d.c new/stream_d.c --- old/stream_d.c Wed Nov 27 13:56:30 2002 +++ new/stream_d.c Fri Jan 10 23:12:50 2003 @@ -34,7 +34,7 @@ * other hand, the optimizer might be too smart for me! * * Try compiling with: - * cc -O stream_d.c second.c -o stream_d -lm + * cc -O stream_d.c second_wall.c -o stream_d -lm * * This is known to work on Cray, SGI, IBM, and Sun machines. * @@ -74,7 +74,7 @@ 3 * sizeof(double) * N }; -extern double second(); +extern double mysecond(); int main() @@ -115,10 +115,10 @@ printf("Your clock granularity appears to be " "less than one microsecond.\n"); - t = second(); + t = mysecond(); for (j = 0; j < N; j++) a[j] = 2.0E0 * a[j]; - t = 1.0E6 * (second() - t); + t = 1.0E6 * (mysecond() - t); printf("Each test below will take on the order" " of %d microseconds.\n", (int) t ); @@ -138,25 +138,25 @@ scalar = 3.0; for (k=0; k Pain clots and unformed lice pat this train.