KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > japex > Constants


1 /*
2  * Japex ver. 0.1 software ("Software")
3  *
4  * Copyright, 2004-2005 Sun Microsystems, Inc. All Rights Reserved.
5  *
6  * This Software is distributed under the following terms:
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, is permitted provided that the following conditions are met:
10  *
11  * Redistributions of source code must retain the above copyright notice,
12  * this list of conditions and the following disclaimer.
13  *
14  * Redistribution in binary form must reproduce the above copyright notice,
15  * this list of conditions and the following disclaimer in the
16  * documentation and/or other materials provided with the distribution.
17  *
18  * Neither the name of Sun Microsystems, Inc., 'Java', 'Java'-based names,
19  * nor the names of contributors may be used to endorse or promote products
20  * derived from this Software without specific prior written permission.
21  *
22  * The Software is provided "AS IS," without a warranty of any kind. ALL
23  * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
24  * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25  * PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS
26  * SHALL NOT BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE
27  * AS A RESULT OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE
28  * SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE
29  * LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
30  * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED
31  * AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR
32  * INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
33  * POSSIBILITY OF SUCH DAMAGES.
34  *
35  * You acknowledge that the Software is not designed, licensed or intended
36  * for use in the design, construction, operation or maintenance of any
37  * nuclear facility.
38  */

39
40 package com.sun.japex;
41
42 public class Constants {
43
44     // Global input parameters
45
public static final String JavaDoc CLASS_PATH = "japex.classPath";
46     public static final String JavaDoc NUMBER_OF_THREADS = "japex.numberOfThreads";
47     public static final String JavaDoc RUNS_PER_DRIVER = "japex.runsPerDriver";
48     public static final String JavaDoc REPORTS_DIRECTORY = "japex.reportsDirectory";
49     
50     // Global output parameters
51
public static final String JavaDoc VERSION = "japex.version";
52     public static final String JavaDoc VERSION_VALUE = "0.1";
53     public static final String JavaDoc OS_NAME = "japex.osName";
54     public static final String JavaDoc OS_ARCHITECTURE = "japex.osArchitecture";
55     public static final String JavaDoc DATE_TIME = "japex.dateTime";
56     public static final String JavaDoc VM_INFO = "japex.vmInfo";
57     public static final String JavaDoc RESULT_UNIT = "japex.resultUnit";
58     
59     // Driver input parameters
60
public static final String JavaDoc DRIVER_CLASS = "japex.driverClass";
61     
62     // Driver output parameters
63
public static final String JavaDoc RESULT_ARIT_MEAN = "japex.resultAritMean";
64     public static final String JavaDoc RESULT_GEOM_MEAN = "japex.resultGeomMean";
65     public static final String JavaDoc RESULT_HARM_MEAN = "japex.resultHarmMean";
66     public static final String JavaDoc RESULT_ARIT_MEAN_STDDEV = "japex.resultAritMeanStddev";
67     public static final String JavaDoc RESULT_GEOM_MEAN_STDDEV = "japex.resultGeomMeanStddev";
68     public static final String JavaDoc RESULT_HARM_MEAN_STDDEV = "japex.resultHarmMeanStddev";
69     
70     // Global/Testcase input parameters
71
public static final String JavaDoc RUN_ITERATIONS = "japex.runIterations";
72     public static final String JavaDoc WARMUP_ITERATIONS = "japex.warmupIterations";
73     public static final String JavaDoc WARMUP_TIME = "japex.warmupTime";
74     public static final String JavaDoc RUN_TIME = "japex.runTime";
75     
76     // Testcase output parameters
77
public static final String JavaDoc ACTUAL_RUN_ITERATIONS = "japex.actualRunIterations";
78     public static final String JavaDoc ACTUAL_WARMUP_ITERATIONS = "japex.actualWarmupIterations";
79     public static final String JavaDoc ACTUAL_RUN_TIME = "japex.actualRunTime";
80     public static final String JavaDoc ACTUAL_WARMUP_TIME = "japex.actualWarmupTime";
81     public static final String JavaDoc ACTUAL_PREPARE_TIME = "japex.actualPrepareTime";
82     public static final String JavaDoc RESULT_VALUE = "japex.resultValue";
83     public static final String JavaDoc RESULT_VALUE_STDDEV = "japex.resultValueStddev";
84     
85     // Default values
86
public static final String JavaDoc DEFAULT_WARMUP_ITERATIONS = "300";
87     public static final String JavaDoc DEFAULT_RUN_ITERATIONS = "300";
88     public static final String JavaDoc DEFAULT_NUMBER_OF_THREADS = "1";
89     public static final String JavaDoc DEFAULT_RUNS_PER_DRIVER = "1";
90     public static final String JavaDoc DEFAULT_REPORTS_DIRECTORY = "reports";
91     
92 }
93
Popular Tags