missed one!
[debian/atlc] / README.help
1 Want to help with atlc? Here's how. 
2
3 1) First of all, please test atlc on your platform. Let me know
4 if it passes or fails and if possible give me the output
5 of a log file 
6 configure > log
7 make >> log
8 make check >> log
9
10 and send me the log 
11
12 2) If anyone can write any code to obtain information about
13 hardware on any systems, it would be much appreciated. 
14 The format should be very clear form the file 
15 tests/benchmark.c. This looks for a number of files
16 try_linux.c, try_solaris.c etc. These files are expected
17 to fill in the structure computer_data
18
19
20 struct computer_data{
21 char mhz[MAX_SIZE];                  /* Speed in MHz. Note its a string */
22 char cpus[MAX_SIZE];                 /* Number of CPUs running          */
23 char max_cpus[MAX_SIZE];             /* Maximum number of CPUs support by system */
24  char sysname[MAX_SIZE];              /* System name - got by uname */
25  char nodename[MAX_SIZE];             /* nodename - got via uname            */
26  char release[MAX_SIZE];              /* Got via uname, but often wrong      */
27  char version[MAX_SIZE];              /* Version of the OS. Sometimes wrong. */
28  char machine[MAX_SIZE];              /* Machine name                        */
29  char cpu_type[MAX_SIZE*3];           /* The CPU type                        */
30  char fpu_type[MAX_SIZE*3];           /* The FPU type                        */
31  char memory[MAX_SIZE];               /* The memory in Mb                    */ 
32  char hw_provider[MAX_SIZE];          /* The hardware provider - Sun, IBM etc */
33  char hw_platform[MAX_SIZE];          /* The hardware platform - eg sun4u    */
34  char t1[MAX_SIZE];                   /* Time in s to run benchmark single threaded */
35  char t2[MAX_SIZE];                   /* Time in s to run benchmark multi threade
36  d */
37  char speedup[MAX_SIZE];              /* t1/t2 */
38  char eff[MAX_SIZE];                  /* The efficiency - t1/(t2*cpus)     */
39  char L1data[MAX_SIZE];               /* Size of level 1 data cache in kb  */
40  char L1instruction[MAX_SIZE];        /* Size of level 1 instuction cache in kb *
41  /
42  char L2[MAX_SIZE];                   /* Size of L2 cache                  */ 
43  }a;
44
45 with missing information. So if you know how to find the speed of
46 a linux box, please change try_linux.c so it has the speed in the
47 structure element 'data.mhz' All information must be stored as
48 one long string. So if fpu type should be a 'Athlon XP2800', this
49 then data.fpu_type should say 'Athlon_XP2800', with the underscore
50 added. 
51
52 This really needs doing for Linux and the BSD versions. IRIX I
53 can do myself at some time. 
54
55 3) Add a GUI
56
57 4) Provide an HP compiler for HP-UX.
58
59 5) 
60
61 Dr. David Kirkby, 15th August 2003.