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 class
Dhrystone.Record_Type
-
Field Summary
Fields Modifier and Type Field Description protected int[]
Array_Glob_1
protected int[][]
Array_Glob_2
protected boolean
Bool_Glob
protected char
Char_Glob_1
protected char
Char_Glob_2
protected Dhrystone.Record_Type
First_Record
static int
Ident_1
static int
Ident_2
static int
Ident_3
static int
Ident_4
static int
Ident_5
protected int
Int_Glob
protected Dhrystone.Record_Type
Next_Record_Glob
protected long
Number_Of_Runs
protected Dhrystone.Record_Type
Record_Glob
protected Dhrystone.Record_Type
Second_Record
-
Constructor Summary
Constructors Constructor Description Dhrystone()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
execute(double seconds)
static void
main(String[] args)
void
run(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)
-
-