KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > measurements > suites > TestFrequency


1 // $Id: TestFrequency.java,v 1.1.1.1 2003/07/02 15:30:46 apopovic Exp $
2
// =====================================================================
3
//
4
// (history at end)
5
//
6

7 package measurements.suites;
8
9 // used packages
10

11 /**
12  * Class TestFrequency
13  *
14  * @version $Revision: 1.1.1.1 $
15  * @author Andrei Popovici
16  */

17 public
18 class TestFrequency
19 {
20     // putstatic 482 1x
21
public static int PUTSTATIC =60;
22
23     // invokestatic 2430 5x
24
public static int INVOKESTATIC =5*PUTSTATIC;
25
26     // invokevirtual 8748 18x
27
public static int INVOKEVIRTUAL =18*PUTSTATIC;
28
29     // invokespecial 5527 11x
30
public static int INVOKESPECIAL =12*PUTSTATIC;
31
32     // invokeinterface 837
33
public static int INVOKEINTERFACE =11*PUTSTATIC;
34
35     // getstatic 1286 3x
36
public static int GET_ARGSSTATIC =3*PUTSTATIC;
37
38
39     // putfield 3227 7x
40
public static int PUTFIELD =6*PUTSTATIC;
41
42     // getfield 8297 17x
43
public static int GET_ARGSFIELD =18*PUTSTATIC;
44
45     // new 6197 13x
46
public static int NEW =13*PUTSTATIC;
47
48     // checkcast 899 2x
49
public static int CHECKCAST =2*PUTSTATIC;
50
51     // all code 171436 (355 x putstatic)
52
public static int LOCALLOOP =PUTSTATIC*10;
53     public static int LOCALVAR =PUTSTATIC*10;
54     public static int LOCALADD =PUTSTATIC*10;
55
56
57 }
58
59
60 //======================================================================
61
//
62
// $Log: TestFrequency.java,v $
63
// Revision 1.1.1.1 2003/07/02 15:30:46 apopovic
64
// Imported from ETH Zurich
65
//
66
// Revision 1.4 2003/04/17 12:49:18 popovici
67
// Refactoring of the crosscut package
68
// ExceptionCut renamed to ThrowCut
69
// McutSignature is now SignaturePattern
70
//
71
// Revision 1.3 2003/04/17 08:46:59 popovici
72
// Important functionality additions
73
// - Cflow specializers
74
// - Restructuring of the MethodCut, SetCut, ThrowCut, and GetCut (they are much smaller)
75
// - Transactional capabilities
76
// - Total refactoring of Specializer evaluation, which permits fine-grained distinction
77
// between static and dynamic specializers.
78
// - Functionality pulled up in abstract classes
79
// - Uniformization of advice methods patterns and names
80
//
81
// Revision 1.2 2003/03/04 18:36:01 popovici
82
// Organization of imprts
83
//
84
// Revision 1.1 2002/03/12 09:50:16 popovici
85
// Initial version of the Benchmark measurements
86
//
87
Popular Tags