/* ** 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;