Package xdevs.core.examples.devstone
Class Dhrystone
- java.lang.Object
-
- xdevs.core.examples.devstone.Dhrystone
-
public class Dhrystone extends Object
Class to run the Dhrystone benchmark 2.1 for a given amount of time. Downloaded from: http://www.okayan.jp/DhrystoneApplet/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDhrystone.Record_Type
-
Field Summary
Fields Modifier and Type Field Description protected int[]Array_Glob_1protected int[][]Array_Glob_2protected booleanBool_Globprotected charChar_Glob_1protected charChar_Glob_2protected Dhrystone.Record_TypeFirst_Recordstatic intIdent_1static intIdent_2static intIdent_3static intIdent_4static intIdent_5protected intInt_Globprotected Dhrystone.Record_TypeNext_Record_Globprotected longNumber_Of_Runsprotected Dhrystone.Record_TypeRecord_Globprotected Dhrystone.Record_TypeSecond_Record
-
Constructor Summary
Constructors Constructor Description Dhrystone()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidexecute(double seconds)static voidmain(String[] args)voidrun(double seconds)
-
-
-
Field Detail
-
Ident_1
public static final int Ident_1
- See Also:
- Constant Field Values
-
Ident_2
public static final int Ident_2
- See Also:
- Constant Field Values
-
Ident_3
public static final int Ident_3
- See Also:
- Constant Field Values
-
Ident_4
public static final int Ident_4
- See Also:
- Constant Field Values
-
Ident_5
public static final int Ident_5
- See Also:
- Constant Field Values
-
Record_Glob
protected Dhrystone.Record_Type Record_Glob
-
Next_Record_Glob
protected Dhrystone.Record_Type Next_Record_Glob
-
Int_Glob
protected int Int_Glob
-
Bool_Glob
protected boolean Bool_Glob
-
Char_Glob_1
protected char Char_Glob_1
-
Char_Glob_2
protected char Char_Glob_2
-
Array_Glob_1
protected int[] Array_Glob_1
-
Array_Glob_2
protected int[][] Array_Glob_2
-
First_Record
protected Dhrystone.Record_Type First_Record
-
Second_Record
protected Dhrystone.Record_Type Second_Record
-
Number_Of_Runs
protected long Number_Of_Runs
-
-
Method Detail
-
run
public void run(double seconds)
-
execute
public static void execute(double seconds)
-
main
public static void main(String[] args)
-
-