00001 #define MAX_FIXED_DISKS 10
00002 #define MAX_CD_DRIVES 10
00003
00004 enum components_enum {
00005 comp_gfx,
00006 comp_cpuint,
00007 comp_cpufloat,
00008 comp_dive,
00009 comp_file,
00010 comp_mem,
00011 comp_disk,
00012 comp_cd
00013 };
00014
00015 enum gfx_enum {
00016 gfx_bitblt_SS,
00017 gfx_bitblt_MS,
00018 gfx_filled_rect,
00019 gfx_patt_fill,
00020 gfx_vlines,
00021 gfx_hlines,
00022 gfx_dlines,
00023 gfx_textrender
00024 };
00025
00026 enum cpuint_enum {
00027 cpuint_dhrystone,
00028 cpuint_hanoi,
00029 cpuint_heapsort,
00030 cpuint_sieve
00031 };
00032
00033 enum cpufloat_enum {
00034 cpufloat_linpack,
00035 cpufloat_flops,
00036 cpufloat_fft
00037 };
00038
00039 enum mem_enum {
00040 mem_5,
00041 mem_10,
00042 mem_20,
00043 mem_40,
00044 mem_80,
00045 mem_160,
00046 mem_320,
00047 mem_640,
00048 mem_1280,
00049 memr_5,
00050 memr_10,
00051 memr_20,
00052 memr_40,
00053 memr_80,
00054 memr_160,
00055 memr_320,
00056 memr_640,
00057 memr_1280,
00058 memw_5,
00059 memw_10,
00060 memw_20,
00061 memw_40,
00062 memw_80,
00063 memw_160,
00064 memw_320,
00065 memw_640,
00066 memw_1280
00067 };
00068
00069 enum dive_enum {
00070 dive_videobw,
00071 dive_rotate,
00072 dive_ms_11,
00073 };
00074
00075 enum disk_enum {
00076 disk_avseek,
00077 disk_busxfer,
00078 disk_transf,
00079 disk_cpupct
00080 };
00081
00082 enum cd_enum {
00083 cdio_avseek,
00084 cdio_transf,
00085 cdio_cpupct
00086 };
00087
00088
00089 struct component {
00090 s32 nrepeatcount;
00091 char title[80];
00092 s32 ndatalines;
00093 struct {
00094 char entry[30];
00095 double value;
00096 double unit_val;
00097 char unit[20];
00098 } datalines[40];
00099 double total;
00100 char unit_total[20];
00101 };
00102
00103
00104 #define NUM_COMPONENTS 8
00105
00106 struct glob_data {
00107 s32 selected_disk;
00108 s32 nr_fixed_disks;
00109 double fixed_disk_size[MAX_FIXED_DISKS];
00110 s32 selected_cd;
00111 s32 nr_cd_drives;
00112 double cd_drive_size[MAX_CD_DRIVES];
00113 struct component c[NUM_COMPONENTS+MAX_FIXED_DISKS+MAX_CD_DRIVES];
00114 };
00115
00116