mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
0b6df8f20a
on single systems and clusters of systems. It is a command-line based tool that grew out of the UNIX world and has been ported to run in Windows environments as well. It is designed to provide consistent and reproducible performance measurements of disk I/O traffic. There are three basic components to xdd that include the xdd program itself, a timeserver program, and a gettime program. The timeserver and gettime programs are used to synchronize the clocks of xdd programs simultaneously running across multiple computer systems. WWW: http://www.ioperformance.com/ PR: ports/100833 Submitted by: Gerhard Gonter <g.gonter at ieee.org>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
--- misc.h.orig Mon May 29 04:04:19 2006
|
|
+++ misc.h Mon May 29 04:12:05 2006
|
|
@@ -35,7 +35,7 @@
|
|
/* -------- */
|
|
/* Includes */
|
|
/* -------- */
|
|
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
|
|
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
|
|
#ifndef NDEBUG /* These are only needed if Assert() expands to something */
|
|
#include <stdio.h> /* fprintf(), stderr */
|
|
#include <unistd.h> /* pause() */
|
|
@@ -60,7 +60,7 @@
|
|
/* --------- */
|
|
/* Constants */
|
|
/* --------- */
|
|
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
|
|
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
|
|
#define MILLION 1000000LL /* 10^6, as opposed to 2^20 */
|
|
#define BILLION 1000000000LL /* 10^9, as opposed to 2^30 */
|
|
#define TRILLION 1000000000000LL /* 10^12, as opposed to 2^40 */
|
|
@@ -77,7 +77,7 @@
|
|
#ifndef LLONG_MIN
|
|
#define LLONG_MIN (-LLONG_MAX - 1LL)
|
|
#endif
|
|
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
|
|
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
|
|
#ifndef LONGLONG_MIN
|
|
#define LONGLONG_MIN LLONG_MIN
|
|
#endif
|