From 04741fb6181f8cc1ebc6f527d8d22840d019eb7b Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 15 Nov 2008 03:17:35 +0000 Subject: -- Remove structs completely -- results is now a static variable in each benchmark -- added get*Score routines -- finally got rid of nmglobal.h completely -- removed more useless stuff git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@53 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- nmglobal.h | 86 -------------------------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 nmglobal.h (limited to 'nmglobal.h') diff --git a/nmglobal.h b/nmglobal.h deleted file mode 100644 index bc5b36e..0000000 --- a/nmglobal.h +++ /dev/null @@ -1,86 +0,0 @@ -/* -** nmglobal.h -** Global definitions for native mode benchmarks. -** -** BYTEmark (tm) -** BYTE's Native Mode Benchmarks -** Rick Grehan, BYTE Magazine -** -** Creation: -** Revision: 3/95;10/95 -** 10/95 - Added memory array & alignment -- RG -** -** DISCLAIMER -** The source, executable, and documentation files that comprise -** the BYTEmark benchmarks are made available on an "as is" basis. -** This means that we at BYTE Magazine have made every reasonable -** effort to verify that the there are no errors in the source and -** executable code. We cannot, however, guarantee that the programs -** are error-free. Consequently, McGraw-HIll and BYTE Magazine make -** no claims in regard to the fitness of the source code, executable -** code, and documentation of the BYTEmark. -** Furthermore, BYTE Magazine, McGraw-Hill, and all employees -** of McGraw-Hill cannot be held responsible for any damages resulting -** from the use of this code or the results obtained from using -** this code. -*/ - -/* -** SYSTEM DEFINES -*/ -#include -#define TRUE 1 -#define FALSE 0 - -#define MINIMUM_TICKS 60 -#define MINIMUM_SECONDS 5 /* Minimum number of seconds to run each test */ - -typedef struct { - double results; /* # of sort iterations per sec */ -} SortStruct; - -typedef struct { - double results; /* # of bitfield ops per sec */ -} BitOpStruct; - -/* -** TYPEDEFS -*/ -typedef struct { - double results; /* Results */ -} EmFloatStruct; - -typedef struct { - double results; /* Results */ -} FourierStruct; - -typedef struct { - double results; /* Results */ -} AssignStruct; - -typedef struct { - double results; /* Results */ -} IDEAStruct; - -typedef struct { - double results; /* Results */ -} HuffStruct; - -typedef struct { - double results; /* Results */ -} NNetStruct; - -typedef struct { - double results; /* Results */ -} LUStruct; - -extern SortStruct global_numsortstruct; -extern SortStruct global_strsortstruct; -extern BitOpStruct global_bitopstruct; -extern EmFloatStruct global_emfloatstruct; -extern FourierStruct global_fourierstruct; -extern AssignStruct global_assignstruct; -extern IDEAStruct global_ideastruct; -extern HuffStruct global_huffstruct; -extern NNetStruct global_nnetstruct; -extern LUStruct global_lustruct; -- cgit v1.2.3