#include <sys/types.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <stdio.h>#include <signal.h>#include <unistd.h>#include <sys/times.h>Include dependency graph for dhrystone.c:

Go to the source code of this file.
Data Structures | |
| struct | Record |
Defines | |
| #define | REGISTER |
| #define | SECONDS 15 |
| #define | NOENUM |
| #define | TIMES |
| #define | structassign(d, s) d = s |
| #define | Ident1 1 |
| #define | Ident2 2 |
| #define | Ident3 3 |
| #define | Ident4 4 |
| #define | Ident5 5 |
| #define | NULL 0 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | _PROTOTYPE(fun, args) fun args |
| #define | NextRecord (*(PtrParIn->PtrComp)) |
Typedefs | |
| typedef int | Enumeration |
| typedef int | OneToThirty |
| typedef int | OneToFifty |
| typedef char | CapitalLetter |
| typedef char | String30 [31] |
| typedef int | Array1Dim [51] |
| typedef int | Array2Dim [51][51] |
| typedef Record | RecordType |
| typedef RecordType * | RecordPtr |
| typedef int | boolean |
Functions | |
| _PROTOTYPE (int main,(void)) | |
| _PROTOTYPE (void prep_timer,(void)) | |
| _PROTOTYPE (void timeout,(int sig)) | |
| _PROTOTYPE (void Proc1,(RecordPtr PtrParIn)) | |
| _PROTOTYPE (void Proc2,(OneToFifty *IntParIO)) | |
| _PROTOTYPE (void Proc3,(RecordPtr *PtrParOut)) | |
| _PROTOTYPE (void Proc6,(Enumeration EnumParIn, Enumeration *EnumParOut)) | |
| _PROTOTYPE (void Proc7,(OneToFifty IntParI1, OneToFifty IntParI2, OneToFifty *IntParOut)) | |
| _PROTOTYPE (void Proc8,(Array1Dim Array1Par, Array2Dim Array2Par, OneToFifty IntParI1, OneToFifty IntParI2)) | |
| _PROTOTYPE (boolean Func2,(String30 StrParI1, String30 StrParI2)) | |
| _PROTOTYPE (boolean Func3,(Enumeration EnumParIn)) | |
| _PROTOTYPE (Enumeration Func1,(int CharPar1, int CharPar2)) | |
| int | main () |
| void | prep_timer () |
| void | timeout (int sig) |
| void | Proc0 () |
| void | Proc1 (REG RecordPtr PtrParIn) |
| void | Proc2 (OneToFifty *IntParIO) |
| void | Proc3 (RecordPtr *PtrParOut) |
| void | Proc4 () |
| void | Proc5 () |
| void | Proc6 (REG Enumeration EnumParIn, REG Enumeration *EnumParOut) |
| void | Proc7 (OneToFifty IntParI1, OneToFifty IntParI2, OneToFifty *IntParOut) |
| void | Proc8 (Array1Dim Array1Par, Array2Dim Array2Par, OneToFifty IntParI1, OneToFifty IntParI2) |
| Enumeration | Func1 (CapitalLetter CharPar1, CapitalLetter CharPar2) |
| boolean | Func2 (String30 StrParI1, String30 StrParI2) |
| boolean | Func3 (REG Enumeration EnumParIn) |
Variables | |
| char | Version [] = "1.1" |
| int | done |
| int | IntGlob |
| boolean | BoolGlob |
| char | Char1Glob |
| char | Char2Glob |
| Array1Dim | Array1Glob |
| Array2Dim | Array2Glob |
| RecordPtr | PtrGlb |
| RecordPtr | PtrGlbNext |
|
|
Definition at line 195 of file dhrystone.c. |
|
|
Definition at line 183 of file dhrystone.c. |
|
|
Definition at line 146 of file dhrystone.c. Referenced by Func1(), Func2(), Proc0(), Proc1(), Proc2(), and Proc6(). |
|
|
Definition at line 147 of file dhrystone.c. |
|
|
Definition at line 148 of file dhrystone.c. |
|
|
Definition at line 149 of file dhrystone.c. Referenced by Proc6(). |
|
|
Definition at line 150 of file dhrystone.c. Referenced by Proc6(). |
|
|
Referenced by Proc1(). |
|
|
Definition at line 106 of file dhrystone.c. |
|
|
Definition at line 181 of file dhrystone.c. |
|
|
Definition at line 3 of file dhrystone.c. |
|
|
Definition at line 103 of file dhrystone.c. |
|
|
Definition at line 141 of file dhrystone.c. Referenced by Proc1(). |
|
|
Definition at line 111 of file dhrystone.c. Referenced by expr_operator(), and times(). |
|
|
Definition at line 182 of file dhrystone.c. |
|
|
Definition at line 162 of file dhrystone.c. |
|
|
Definition at line 163 of file dhrystone.c. |
|
|
Definition at line 175 of file dhrystone.c. |
|
|
Definition at line 160 of file dhrystone.c. |
|
|
Definition at line 151 of file dhrystone.c. |
|
|
Definition at line 159 of file dhrystone.c. |
|
|
Definition at line 158 of file dhrystone.c. |
|
|
Definition at line 174 of file dhrystone.c. |
|
|
Definition at line 173 of file dhrystone.c. |
|
|
Definition at line 161 of file dhrystone.c. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 520 of file dhrystone.c. |
|
||||||||||||
|
Definition at line 537 of file dhrystone.c. References FALSE, Func1(), Ident1, REG, strcmp, and TRUE. Referenced by Proc0(). |
|
|
Definition at line 564 of file dhrystone.c. References FALSE, Ident3, REG, and TRUE. Referenced by Proc6(). |
|
|
Definition at line 219 of file dhrystone.c. References Proc0(). |
|
|
Definition at line 232 of file dhrystone.c. References SIGALRM, and signal(). Referenced by Proc0(). |
|
|
Definition at line 255 of file dhrystone.c. References _SC_CLK_TCK, alarm, Record::Discr, Record::EnumComp, Func1(), Func2(), i, Ident1, Ident2, Ident3, Record::IntComp, malloc(), prep_timer(), printf, Proc1(), Proc2(), Proc4(), Proc5(), Proc6(), Proc7(), Proc8(), Record::PtrComp, PtrGlb, PtrGlbNext, REG, SECONDS, strcpy(), Record::StringComp, sysconf(), time, times, tms::tms_utime, and Version. Referenced by main(). |
|
|
Definition at line 391 of file dhrystone.c. References Ident1, NextRecord, Proc3(), Proc6(), Proc7(), Record::PtrComp, PtrGlb, and structassign. Referenced by Proc0(). |
|
|
Definition at line 415 of file dhrystone.c. Referenced by Proc0(). |
|
|
Definition at line 434 of file dhrystone.c. References Record::IntComp, IntGlob, NULL, Proc7(), Record::PtrComp, and PtrGlb. Referenced by Proc1(). |
|
|
Definition at line 445 of file dhrystone.c. References BoolGlob, Char1Glob, Char2Glob, and REG. Referenced by Proc0(). |
|
|
Definition at line 456 of file dhrystone.c. References BoolGlob, Char1Glob, and FALSE. Referenced by Proc0(). |
|
||||||||||||
|
Definition at line 463 of file dhrystone.c. References Func3(), Ident1, Ident2, Ident3, Ident4, Ident5, and IntGlob. |
|
||||||||||||||||
|
Definition at line 485 of file dhrystone.c. References REG. |
|
||||||||||||||||||||
|
Definition at line 498 of file dhrystone.c. Referenced by Proc0(). |
|
|
Definition at line 238 of file dhrystone.c. |
|
|
Definition at line 249 of file dhrystone.c. |
|
|
Definition at line 250 of file dhrystone.c. |
|
|
Definition at line 246 of file dhrystone.c. |
|
|
Definition at line 247 of file dhrystone.c. |
|
|
Definition at line 248 of file dhrystone.c. Referenced by Proc4(). |
|
|
Definition at line 229 of file dhrystone.c. |
|
|
Definition at line 245 of file dhrystone.c. |
|
|
Definition at line 251 of file dhrystone.c. |
|
|
Definition at line 252 of file dhrystone.c. Referenced by Proc0(). |
|
|
Definition at line 134 of file dhrystone.c. |
1.4.6