File: xpcom_stats.h

package info (click to toggle)
swt-gtk 3.4-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 11,896 kB
  • ctags: 21,996
  • sloc: java: 102,480; ansic: 28,645; cpp: 3,683; sh: 154; makefile: 43; xml: 42
file content (196 lines) | stat: -rw-r--r-- 6,763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
/*******************************************************************************
 * Copyright (c) 2000, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    IBM Corporation - initial API and implementation
 *******************************************************************************/

#ifdef NATIVE_STATS
extern int XPCOM_nativeFunctionCount;
extern int XPCOM_nativeFunctionCallCount[];
extern char* XPCOM_nativeFunctionNames[];
#define XPCOM_NATIVE_ENTER(env, that, func) XPCOM_nativeFunctionCallCount[func]++;
#define XPCOM_NATIVE_EXIT(env, that, func) 
#else
#ifndef XPCOM_NATIVE_ENTER
#define XPCOM_NATIVE_ENTER(env, that, func) 
#endif
#ifndef XPCOM_NATIVE_EXIT
#define XPCOM_NATIVE_EXIT(env, that, func) 
#endif
#endif

typedef enum {
	Call_FUNC,
	NS_1GetComponentManager_FUNC,
	NS_1GetServiceManager_FUNC,
	NS_1InitXPCOM2_FUNC,
	NS_1NewLocalFile_FUNC,
	VtblCall__II_FUNC,
	VtblCall__IIF_FUNC,
	VtblCall__III_FUNC,
	VtblCall__IIII_FUNC,
	VtblCall__IIIII_FUNC,
	VtblCall__IIIIII_FUNC,
	VtblCall__IIIIIII_FUNC,
	VtblCall__IIIIIIII_FUNC,
	VtblCall__IIIIIIIIIIII_FUNC,
	VtblCall__IIIIIIIIIIIIIIISI_FUNC,
	VtblCall__IIIIIIII_3C_3I_3I_FUNC,
	VtblCall__IIIIIIJII_FUNC,
	VtblCall__IIIIII_3CIIIII_3I_3I_FUNC,
	VtblCall__IIIIII_3C_3BIIIII_3I_3I_FUNC,
	VtblCall__IIIIII_3C_3I_3I_FUNC,
	VtblCall__IIIIII_3I_3I_FUNC,
	VtblCall__IIIII_3C_FUNC,
	VtblCall__IIIII_3I_FUNC,
	VtblCall__IIIIJJJJ_FUNC,
	VtblCall__IIII_3B_FUNC,
	VtblCall__IIII_3C_FUNC,
	VtblCall__IIII_3CIJI_FUNC,
	VtblCall__IIII_3CJJJ_FUNC,
	VtblCall__IIII_3I_FUNC,
	VtblCall__IIII_3J_FUNC,
	VtblCall__IIIJJ_FUNC,
	VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2_FUNC,
	VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__III_3B_FUNC,
	VtblCall__III_3BI_FUNC,
	VtblCall__III_3BI_3I_FUNC,
	VtblCall__III_3B_3B_3BI_3I_FUNC,
	VtblCall__III_3B_3C_FUNC,
	VtblCall__III_3B_3I_FUNC,
	VtblCall__III_3C_FUNC,
	VtblCall__III_3CI_FUNC,
	VtblCall__III_3C_3C_FUNC,
	VtblCall__III_3C_3CI_3C_3C_3C_3C_3I_3I_FUNC,
	VtblCall__III_3C_3CI_3I_3I_3I_FUNC,
	VtblCall__III_3C_3C_3C_3I_FUNC,
	VtblCall__III_3C_3C_3C_3I_3I_FUNC,
	VtblCall__III_3C_3C_3I_FUNC,
	VtblCall__III_3C_3C_3I_3C_3I_3I_FUNC,
	VtblCall__III_3C_3C_3I_3I_3C_3I_3I_FUNC,
	VtblCall__III_3I_FUNC,
	VtblCall__III_3I_3I_3I_3I_FUNC,
	VtblCall__IIJ_FUNC,
	VtblCall__IIJI_FUNC,
	VtblCall__IIJIIJIIIIII_FUNC,
	VtblCall__IIJIIJIIIIIIIIISJ_FUNC,
	VtblCall__IIJIIJ_3I_3J_FUNC,
	VtblCall__IIJI_3J_FUNC,
	VtblCall__IIJJ_FUNC,
	VtblCall__IIJJI_FUNC,
	VtblCall__IIJJII_FUNC,
	VtblCall__IIJJIIII_FUNC,
	VtblCall__IIJJIJ_3C_3I_3I_FUNC,
	VtblCall__IIJJI_3C_FUNC,
	VtblCall__IIJJI_3I_FUNC,
	VtblCall__IIJJJ_FUNC,
	VtblCall__IIJJJI_FUNC,
	VtblCall__IIJJJI_3CJJIJI_3J_3J_FUNC,
	VtblCall__IIJJJI_3C_3BJJIJI_3J_3J_FUNC,
	VtblCall__IIJJJJIJ_3C_3I_3J_FUNC,
	VtblCall__IIJJJJJ_FUNC,
	VtblCall__IIJJJJJJ_FUNC,
	VtblCall__IIJJJJJJJ_FUNC,
	VtblCall__IIJJ_3B_FUNC,
	VtblCall__IIJJ_3CIJI_FUNC,
	VtblCall__IIJJ_3CJJJ_FUNC,
	VtblCall__IIJJ_3I_FUNC,
	VtblCall__IIJLorg_eclipse_swt_internal_mozilla_nsID_2_FUNC,
	VtblCall__IIJLorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__IIJ_3B_FUNC,
	VtblCall__IIJ_3BI_FUNC,
	VtblCall__IIJ_3BJ_3J_FUNC,
	VtblCall__IIJ_3B_3B_3BJ_3J_FUNC,
	VtblCall__IIJ_3B_3C_FUNC,
	VtblCall__IIJ_3CI_FUNC,
	VtblCall__IIJ_3C_3C_FUNC,
	VtblCall__IIJ_3C_3CI_3C_3C_3C_3C_3I_3I_FUNC,
	VtblCall__IIJ_3C_3CI_3J_3I_3I_FUNC,
	VtblCall__IIJ_3C_3C_3C_3I_FUNC,
	VtblCall__IIJ_3C_3C_3C_3I_3I_FUNC,
	VtblCall__IIJ_3C_3C_3I_FUNC,
	VtblCall__IIJ_3C_3C_3J_FUNC,
	VtblCall__IIJ_3C_3C_3J_3C_3I_3I_FUNC,
	VtblCall__IIJ_3C_3C_3J_3J_3C_3I_3I_FUNC,
	VtblCall__IIJ_3I_FUNC,
	VtblCall__IIJ_3J_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2ILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2J_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2JLorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI_3B_3B_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BJ_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BJ_3B_3B_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__II_3B_FUNC,
	VtblCall__II_3BI_FUNC,
	VtblCall__II_3BII_3I_3I_FUNC,
	VtblCall__II_3BIJ_3J_3I_FUNC,
	VtblCall__II_3BILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__II_3BI_3I_FUNC,
	VtblCall__II_3BI_3I_3I_FUNC,
	VtblCall__II_3BI_3J_3I_FUNC,
	VtblCall__II_3BJ_FUNC,
	VtblCall__II_3BJLorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC,
	VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2J_FUNC,
	VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC,
	VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3J_FUNC,
	VtblCall__II_3B_3B_FUNC,
	VtblCall__II_3B_3BI_FUNC,
	VtblCall__II_3B_3B_3BII_3I_FUNC,
	VtblCall__II_3B_3B_3BII_3J_FUNC,
	VtblCall__II_3B_3B_3I_FUNC,
	VtblCall__II_3B_3B_3J_FUNC,
	VtblCall__II_3B_3I_FUNC,
	VtblCall__II_3B_3I_3I_FUNC,
	VtblCall__II_3B_3I_3J_FUNC,
	VtblCall__II_3B_3J_FUNC,
	VtblCall__II_3B_3J_3I_FUNC,
	VtblCall__II_3C_FUNC,
	VtblCall__II_3CIIII_FUNC,
	VtblCall__II_3CIJJJ_FUNC,
	VtblCall__II_3CI_3I_FUNC,
	VtblCall__II_3CJ_3J_FUNC,
	VtblCall__II_3C_3C_FUNC,
	VtblCall__II_3F_FUNC,
	VtblCall__II_3I_FUNC,
	VtblCall__II_3I_3I_FUNC,
	VtblCall__II_3I_3I_3I_FUNC,
	VtblCall__II_3I_3I_3I_3I_FUNC,
	VtblCall__II_3I_3J_FUNC,
	VtblCall__II_3I_3J_3I_FUNC,
	VtblCall__II_3I_3J_3J_FUNC,
	VtblCall__II_3J_FUNC,
	VtblCall__II_3J_3J_3J_FUNC,
	VtblCall__II_3S_FUNC,
	XPCOMGlueShutdown_FUNC,
	XPCOMGlueStartup_FUNC,
	memmove__ILorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC,
	memmove__Lorg_eclipse_swt_internal_mozilla_nsID_2II_FUNC,
	nsEmbedCString_1Length_FUNC,
	nsEmbedCString_1delete_FUNC,
	nsEmbedCString_1get_FUNC,
	nsEmbedCString_1new___FUNC,
	nsEmbedCString_1new__II_FUNC,
	nsEmbedCString_1new___3BI_FUNC,
	nsEmbedString_1Length_FUNC,
	nsEmbedString_1delete_FUNC,
	nsEmbedString_1get_FUNC,
	nsEmbedString_1new___FUNC,
	nsEmbedString_1new___3C_FUNC,
	nsID_1Equals_FUNC,
	nsID_1delete_FUNC,
	nsID_1new_FUNC,
	strlen_1PRUnichar_FUNC,
} XPCOM_FUNCS;