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