1 | namespace dnnl { |
2 | namespace impl { |
3 | namespace gpu { |
4 | namespace ocl { |
5 | const char * = R"==(/*****************************************************************************\ )==" "\n" |
6 | R"==(Copyright © 2019, Intel Corporation )==" "\n" |
7 | R"==(Permission is hereby granted, free of charge, to any person obtaining a )==" "\n" |
8 | R"==(copy of this software and associated documentation files (the "Software"), )==" "\n" |
9 | R"==(to deal in the Software without restriction, including without limitation )==" "\n" |
10 | R"==(the rights to use, copy, modify, merge, publish, distribute, sublicense, )==" "\n" |
11 | R"==(and/or sell copies of the Software, and to permit persons to whom the )==" "\n" |
12 | R"==(Software is furnished to do so, subject to the following conditions: )==" "\n" |
13 | R"==(The above copyright notice and this permission notice shall be included )==" "\n" |
14 | R"==(in all copies or substantial portions of the Software. )==" "\n" |
15 | R"==(THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR )==" "\n" |
16 | R"==(IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, )==" "\n" |
17 | R"==(FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL )==" "\n" |
18 | R"==(THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER )==" "\n" |
19 | R"==(LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING )==" "\n" |
20 | R"==(FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS )==" "\n" |
21 | R"==(IN THE SOFTWARE. )==" "\n" |
22 | R"==(File Name: metrics_discovery_api.h )==" "\n" |
23 | R"==(Abstract: Interface for metrics discovery DLL )==" "\n" |
24 | R"==(Notes: )==" "\n" |
25 | R"==(\*****************************************************************************/ )==" "\n" |
26 | R"==(#include <stdint.h> )==" "\n" |
27 | R"==(#ifndef __METRICS_DISCOVERY_H_ )==" "\n" |
28 | R"==(#define __METRICS_DISCOVERY_H_ )==" "\n" |
29 | R"==(#ifdef _MSC_VER )==" "\n" |
30 | R"==(#define MD_STDCALL __stdcall )==" "\n" |
31 | R"==(#else )==" "\n" |
32 | R"==(#define MD_STDCALL )==" "\n" |
33 | R"==(#endif )==" "\n" |
34 | R"==(namespace MetricsDiscovery { )==" "\n" |
35 | R"==(typedef enum EMD_API_MAJOR_VERSION { )==" "\n" |
36 | R"==(MD_API_MAJOR_NUMBER_1 = 1, )==" "\n" |
37 | R"==(MD_API_MAJOR_NUMBER_CURRENT = MD_API_MAJOR_NUMBER_1, )==" "\n" |
38 | R"==(MD_API_MAJOR_NUMBER_CEIL = 0xFFFFFFFF )==" "\n" |
39 | R"==(} MD_API_MAJOR_VERSION; )==" "\n" |
40 | R"==(typedef enum EMD_API_MINOR_VERSION { )==" "\n" |
41 | R"==(MD_API_MINOR_NUMBER_0 = 0, )==" "\n" |
42 | R"==(MD_API_MINOR_NUMBER_1 = 1, )==" "\n" |
43 | R"==(MD_API_MINOR_NUMBER_2 = 2, )==" "\n" |
44 | R"==(MD_API_MINOR_NUMBER_3 = 3, )==" "\n" |
45 | R"==(MD_API_MINOR_NUMBER_4 = 4, )==" "\n" |
46 | R"==(MD_API_MINOR_NUMBER_5 = 5, )==" "\n" |
47 | R"==(MD_API_MINOR_NUMBER_CURRENT = MD_API_MINOR_NUMBER_5, )==" "\n" |
48 | R"==(MD_API_MINOR_NUMBER_CEIL = 0xFFFFFFFF )==" "\n" |
49 | R"==(} MD_API_MINOR_VERSION; )==" "\n" |
50 | R"==(#define MD_API_BUILD_NUMBER_CURRENT 115 )==" "\n" |
51 | R"==(typedef enum ECompletionCode { )==" "\n" |
52 | R"==(CC_OK = 0, )==" "\n" |
53 | R"==(CC_READ_PENDING = 1, )==" "\n" |
54 | R"==(CC_ALREADY_INITIALIZED = 2, )==" "\n" |
55 | R"==(CC_STILL_INITIALIZED = 3, )==" "\n" |
56 | R"==(CC_CONCURRENT_GROUP_LOCKED = 4, )==" "\n" |
57 | R"==(CC_WAIT_TIMEOUT = 5, )==" "\n" |
58 | R"==(CC_TRY_AGAIN = 6, )==" "\n" |
59 | R"==(CC_INTERRUPTED = 7, )==" "\n" |
60 | R"==(CC_ERROR_INVALID_PARAMETER = 40, )==" "\n" |
61 | R"==(CC_ERROR_NO_MEMORY = 41, )==" "\n" |
62 | R"==(CC_ERROR_GENERAL = 42, )==" "\n" |
63 | R"==(CC_ERROR_FILE_NOT_FOUND = 43, )==" "\n" |
64 | R"==(CC_ERROR_NOT_SUPPORTED = 44, )==" "\n" |
65 | R"==(CC_LAST_1_0 = 45 )==" "\n" |
66 | R"==(} TCompletionCode; )==" "\n" |
67 | R"==(/* Forward declarations */ )==" "\n" |
68 | R"==(class IMetricsDevice_1_0; )==" "\n" |
69 | R"==(class IMetricsDevice_1_1; )==" "\n" |
70 | R"==(class IMetricsDevice_1_2; )==" "\n" |
71 | R"==(class IMetricsDevice_1_5; )==" "\n" |
72 | R"==(class IOverride_1_2; )==" "\n" |
73 | R"==(class IConcurrentGroup_1_0; )==" "\n" |
74 | R"==(class IConcurrentGroup_1_1; )==" "\n" |
75 | R"==(class IConcurrentGroup_1_5; )==" "\n" |
76 | R"==(class IMetricSet_1_0; )==" "\n" |
77 | R"==(class IMetricSet_1_1; )==" "\n" |
78 | R"==(class IMetricSet_1_4; )==" "\n" |
79 | R"==(class IMetricSet_1_5; )==" "\n" |
80 | R"==(class IMetric_1_0; )==" "\n" |
81 | R"==(class IInformation_1_0; )==" "\n" |
82 | R"==(class IEquation_1_0; )==" "\n" |
83 | R"==(typedef enum EValueType { )==" "\n" |
84 | R"==(VALUE_TYPE_UINT32, )==" "\n" |
85 | R"==(VALUE_TYPE_UINT64, )==" "\n" |
86 | R"==(VALUE_TYPE_FLOAT, )==" "\n" |
87 | R"==(VALUE_TYPE_BOOL, )==" "\n" |
88 | R"==(VALUE_TYPE_CSTRING, )==" "\n" |
89 | R"==(VALUE_TYPE_LAST, )==" "\n" |
90 | R"==(} TValueType; )==" "\n" |
91 | R"==(typedef struct STypedValue_1_0 { )==" "\n" |
92 | R"==(TValueType ValueType; )==" "\n" |
93 | R"==(union { )==" "\n" |
94 | R"==(uint32_t ValueUInt32; )==" "\n" |
95 | R"==(uint64_t ValueUInt64; )==" "\n" |
96 | R"==(struct { )==" "\n" |
97 | R"==(uint32_t Low; )==" "\n" |
98 | R"==(uint32_t High; )==" "\n" |
99 | R"==(} ValueUInt64Fields; )==" "\n" |
100 | R"==(float ValueFloat; )==" "\n" |
101 | R"==(bool ValueBool; )==" "\n" |
102 | R"==(char *ValueCString; )==" "\n" |
103 | R"==(}; )==" "\n" |
104 | R"==(} TTypedValue_1_0; )==" "\n" |
105 | R"==(typedef struct SGlobalSymbol_1_0 { )==" "\n" |
106 | R"==(const char *SymbolName; )==" "\n" |
107 | R"==(TTypedValue_1_0 SymbolTypedValue; )==" "\n" |
108 | R"==(} TGlobalSymbol_1_0; )==" "\n" |
109 | R"==(typedef struct SMetricsDeviceParams_1_0 { )==" "\n" |
110 | R"==(struct SApiVersion { )==" "\n" |
111 | R"==(uint32_t MajorNumber; )==" "\n" |
112 | R"==(uint32_t MinorNumber; )==" "\n" |
113 | R"==(uint32_t BuildNumber; )==" "\n" |
114 | R"==(} Version; )==" "\n" |
115 | R"==(uint32_t ConcurrentGroupsCount; )==" "\n" |
116 | R"==(uint32_t GlobalSymbolsCount; )==" "\n" |
117 | R"==(uint32_t DeltaFunctionsCount; )==" "\n" |
118 | R"==(uint32_t EquationElementTypesCount; )==" "\n" |
119 | R"==(uint32_t EquationOperationsCount; )==" "\n" |
120 | R"==(const char *DeviceName; )==" "\n" |
121 | R"==(} TMetricsDeviceParams_1_0; )==" "\n" |
122 | R"==(typedef struct SMetricsDeviceParams_1_2 : public SMetricsDeviceParams_1_0 { )==" "\n" |
123 | R"==(uint32_t OverrideCount; )==" "\n" |
124 | R"==(} TMetricsDeviceParams_1_2; )==" "\n" |
125 | R"==(typedef enum EMetricApiType { )==" "\n" |
126 | R"==(API_TYPE_IOSTREAM = 0x00000001, )==" "\n" |
127 | R"==(API_TYPE_DX9 = 0x00000002, )==" "\n" |
128 | R"==(API_TYPE_DX10 = 0x00000004, )==" "\n" |
129 | R"==(API_TYPE_DX11 = 0x00000008, )==" "\n" |
130 | R"==(API_TYPE_OGL = 0x00000010, )==" "\n" |
131 | R"==(API_TYPE_OGL4_X = 0x00000020, )==" "\n" |
132 | R"==(API_TYPE_OCL = 0x00000040, )==" "\n" |
133 | R"==(API_TYPE_MEDIA )==" "\n" |
134 | R"==(= 0x00000080, )==" "\n" |
135 | R"==(API_TYPE_DX12 = 0x00000100, )==" "\n" |
136 | R"==(API_TYPE_BBSTREAM = 0x00000200, )==" "\n" |
137 | R"==(API_TYPE_VULKAN = 0x00000400, )==" "\n" |
138 | R"==(API_TYPE_RESERVED = 0x00000800, )==" "\n" |
139 | R"==(API_TYPE_ALL = 0xffffffff )==" "\n" |
140 | R"==(} TMetricApiType; )==" "\n" |
141 | R"==(typedef enum EMeasurementType { )==" "\n" |
142 | R"==(MEASUREMENT_TYPE_SNAPSHOT_IO = 0x00000001, )==" "\n" |
143 | R"==(MEASUREMENT_TYPE_SNAPSHOT_QUERY = 0x00000002, )==" "\n" |
144 | R"==(MEASUREMENT_TYPE_DELTA_QUERY = 0x00000004, )==" "\n" |
145 | R"==(MEASUREMENT_TYPE_ALL = 0x0000ffff, )==" "\n" |
146 | R"==(} TMeasurementType; )==" "\n" |
147 | R"==(typedef enum EMetricUsageFlag { )==" "\n" |
148 | R"==(USAGE_FLAG_OVERVIEW = 0x00000001, )==" "\n" |
149 | R"==(USAGE_FLAG_INDICATE = 0x00000002, )==" "\n" |
150 | R"==(USAGE_FLAG_CORRELATE )==" "\n" |
151 | R"==(= 0x00000004, )==" "\n" |
152 | R"==(USAGE_FLAG_SYSTEM = 0x00000020, )==" "\n" |
153 | R"==(USAGE_FLAG_FRAME = 0x00000040, )==" "\n" |
154 | R"==(USAGE_FLAG_BATCH = 0x00000080, )==" "\n" |
155 | R"==(USAGE_FLAG_DRAW = 0x00000100, )==" "\n" |
156 | R"==(USAGE_FLAG_TIER_1 = 0x00000400, )==" "\n" |
157 | R"==(USAGE_FLAG_TIER_2 = 0x00000800, )==" "\n" |
158 | R"==(USAGE_FLAG_TIER_3 = 0x00001000, )==" "\n" |
159 | R"==(USAGE_FLAG_TIER_4 = 0x00002000, )==" "\n" |
160 | R"==(USAGE_FLAG_GLASS_JAW = 0x00004000, )==" "\n" |
161 | R"==(USAGE_FLAG_ALL = 0x0000ffff, )==" "\n" |
162 | R"==(} TMetricUsageFlag; )==" "\n" |
163 | R"==(typedef enum ESamplingType { )==" "\n" |
164 | R"==(SAMPLING_TYPE_OA_TIMER = 0x00000001, )==" "\n" |
165 | R"==(SAMPLING_TYPE_OA_EVENT = 0x00000002, )==" "\n" |
166 | R"==(SAMPLING_TYPE_GPU_QUERY = 0x00000004, )==" "\n" |
167 | R"==(SAMPLING_TYPE_DMA_BUFFER )==" "\n" |
168 | R"==(= 0x00000008, )==" "\n" |
169 | R"==(SAMPLING_TYPE_ALL = 0x0000ffff, )==" "\n" |
170 | R"==(} TSamplingType; )==" "\n" |
171 | R"==(typedef enum EMetricCategory { )==" "\n" |
172 | R"==(GPU_RENDER = 0x0001, )==" "\n" |
173 | R"==(GPU_COMPUTE = 0x0002, )==" "\n" |
174 | R"==(GPU_MEDIA = 0x0004, )==" "\n" |
175 | R"==(GPU_GENERIC )==" "\n" |
176 | R"==(= 0x0008, )==" "\n" |
177 | R"==(} TMetricCategory; )==" "\n" |
178 | R"==(typedef enum EIoReadFlag { )==" "\n" |
179 | R"==(IO_READ_FLAG_DROP_OLD_REPORTS = 0x00000001, )==" "\n" |
180 | R"==(IO_READ_FLAG_GET_CONTEXT_ID_TAGS = 0x00000002, )==" "\n" |
181 | R"==(} TIoReadFlag; )==" "\n" |
182 | R"==(typedef enum EOverrideMode { )==" "\n" |
183 | R"==(OVERRIDE_MODE_GLOBAL = 0x0001, )==" "\n" |
184 | R"==(OVERRIDE_MODE_LOCAL = 0x0002, )==" "\n" |
185 | R"==(} TOverrideMode; )==" "\n" |
186 | R"==(typedef struct SConcurrentGroupParams_1_0 { )==" "\n" |
187 | R"==(const char *SymbolName; )==" "\n" |
188 | R"==(const char * )==" "\n" |
189 | R"==(Description; )==" "\n" |
190 | R"==(uint32_t MeasurementTypeMask; )==" "\n" |
191 | R"==(uint32_t MetricSetsCount; )==" "\n" |
192 | R"==(uint32_t IoMeasurementInformationCount; )==" "\n" |
193 | R"==(uint32_t IoGpuContextInformationCount; )==" "\n" |
194 | R"==(} TConcurrentGroupParams_1_0; )==" "\n" |
195 | R"==(typedef struct SOverrideParams_1_2 { )==" "\n" |
196 | R"==(const char *SymbolName; )==" "\n" |
197 | R"==(const char * )==" "\n" |
198 | R"==(Description; )==" "\n" |
199 | R"==(uint32_t ApiMask; )==" "\n" |
200 | R"==(uint32_t PlatformMask; )==" "\n" |
201 | R"==(uint32_t OverrideModeMask; )==" "\n" |
202 | R"==(} TOverrideParams_1_2; )==" "\n" |
203 | R"==(typedef struct SSetOverrideParams_1_2 { )==" "\n" |
204 | R"==(bool Enable; )==" "\n" |
205 | R"==(} TSetOverrideParams_1_2; )==" "\n" |
206 | R"==(typedef struct SSetFrequencyOverrideParams_1_2 : SSetOverrideParams_1_2 { )==" "\n" |
207 | R"==(uint32_t FrequencyMhz; )==" "\n" |
208 | R"==(uint32_t Pid; )==" "\n" |
209 | R"==(} TSetFrequencyOverrideParams_1_2; )==" "\n" |
210 | R"==(typedef struct SSetQueryOverrideParams_1_2 : SSetOverrideParams_1_2 { )==" "\n" |
211 | R"==(uint32_t Period; )==" "\n" |
212 | R"==(} TSetQueryOverrideParams_1_2; )==" "\n" |
213 | R"==(typedef struct SSetDriverOverrideParams_1_2 : SSetOverrideParams_1_2 { )==" "\n" |
214 | R"==(uint32_t Value; )==" "\n" |
215 | R"==(} SSetDriverOverrideParams_1_2; )==" "\n" |
216 | R"==(typedef struct SApiSpecificId_1_0 { )==" "\n" |
217 | R"==(uint32_t D3D9QueryId; )==" "\n" |
218 | R"==(uint32_t D3D9Fourcc; )==" "\n" |
219 | R"==(uint32_t D3D1XQueryId; )==" "\n" |
220 | R"==(uint32_t D3D1XDevDependentId; )==" "\n" |
221 | R"==(const char *D3D1XDevDependentName; )==" "\n" |
222 | R"==(uint32_t OGLQueryIntelId; )==" "\n" |
223 | R"==(const char *OGLQueryIntelName; )==" "\n" |
224 | R"==(uint32_t OGLQueryARBTargetId; )==" "\n" |
225 | R"==(uint32_t OCL; )==" "\n" |
226 | R"==(uint32_t HwConfigId; )==" "\n" |
227 | R"==(uint32_t placeholder[1]; )==" "\n" |
228 | R"==(} TApiSpecificId_1_0; )==" "\n" |
229 | R"==(typedef struct SMetricSetParams_1_0 { )==" "\n" |
230 | R"==(const char *SymbolName; )==" "\n" |
231 | R"==(const char *ShortName; )==" "\n" |
232 | R"==(uint32_t ApiMask; )==" "\n" |
233 | R"==(uint32_t CategoryMask; )==" "\n" |
234 | R"==(uint32_t RawReportSize; )==" "\n" |
235 | R"==(uint32_t QueryReportSize; )==" "\n" |
236 | R"==(uint32_t MetricsCount; )==" "\n" |
237 | R"==(uint32_t InformationCount; )==" "\n" |
238 | R"==(uint32_t ComplementarySetsCount; )==" "\n" |
239 | R"==(TApiSpecificId_1_0 ApiSpecificId; )==" "\n" |
240 | R"==(uint32_t PlatformMask; )==" "\n" |
241 | R"==(} TMetricSetParams_1_0; )==" "\n" |
242 | R"==(typedef struct SMetricSetParams_1_4 : SMetricSetParams_1_0 { )==" "\n" |
243 | R"==(uint32_t GtMask; )==" "\n" |
244 | R"==(} TMetricSetParams_1_4; )==" "\n" |
245 | R"==(typedef enum EMetricResultType { )==" "\n" |
246 | R"==(RESULT_UINT32, )==" "\n" |
247 | R"==(RESULT_UINT64, )==" "\n" |
248 | R"==(RESULT_BOOL, )==" "\n" |
249 | R"==(RESULT_FLOAT, )==" "\n" |
250 | R"==(RESULT_LAST )==" "\n" |
251 | R"==(} TMetricResultType; )==" "\n" |
252 | R"==(typedef enum EMetricType { )==" "\n" |
253 | R"==(METRIC_TYPE_DURATION, )==" "\n" |
254 | R"==(METRIC_TYPE_EVENT, )==" "\n" |
255 | R"==(METRIC_TYPE_EVENT_WITH_RANGE, )==" "\n" |
256 | R"==(METRIC_TYPE_THROUGHPUT, )==" "\n" |
257 | R"==(METRIC_TYPE_TIMESTAMP, )==" "\n" |
258 | R"==(METRIC_TYPE_FLAG, )==" "\n" |
259 | R"==(METRIC_TYPE_RATIO, )==" "\n" |
260 | R"==(METRIC_TYPE_RAW, )==" "\n" |
261 | R"==(METRIC_TYPE_LAST )==" "\n" |
262 | R"==(} TMetricType; )==" "\n" |
263 | R"==(typedef enum EInformationType { )==" "\n" |
264 | R"==(INFORMATION_TYPE_REPORT_REASON, )==" "\n" |
265 | R"==(INFORMATION_TYPE_VALUE, )==" "\n" |
266 | R"==(INFORMATION_TYPE_FLAG, )==" "\n" |
267 | R"==(INFORMATION_TYPE_TIMESTAMP, )==" "\n" |
268 | R"==(INFORMATION_TYPE_CONTEXT_ID_TAG, )==" "\n" |
269 | R"==(INFORMATION_TYPE_SAMPLE_PHASE, )==" "\n" |
270 | R"==(INFORMATION_TYPE_GPU_NODE, )==" "\n" |
271 | R"==(INFORMATION_TYPE_LAST )==" "\n" |
272 | R"==(} TInformationType; )==" "\n" |
273 | R"==(typedef enum EReportReason { )==" "\n" |
274 | R"==(REPORT_REASON_UNDEFINED = 0x0000, )==" "\n" |
275 | R"==(REPORT_REASON_INTERNAL_TIMER = 0x0001, )==" "\n" |
276 | R"==(REPORT_REASON_INTERNAL_TRIGGER1 = 0x0002, )==" "\n" |
277 | R"==(REPORT_REASON_INTERNAL_TRIGGER2 = 0x0004, )==" "\n" |
278 | R"==(REPORT_REASON_INTERNAL_CONTEXT_SWITCH = 0x0008, )==" "\n" |
279 | R"==(REPORT_REASON_INTERNAL_GO = 0x0010, )==" "\n" |
280 | R"==(REPORT_REASON_INTERNAL_FREQUENCY_CHANGE = 0x0020, )==" "\n" |
281 | R"==(REPORT_REASON_QUERY_DEFAULT = 0x0100, )==" "\n" |
282 | R"==(REPORT_REASON_QUERY_INTERNAL_RESOLVE = 0x0200, )==" "\n" |
283 | R"==(REPORT_REASON_QUERY_INTERNAL_CLEAR = 0x0400, )==" "\n" |
284 | R"==(} TReportReason; )==" "\n" |
285 | R"==(typedef enum ESamplePhase { )==" "\n" |
286 | R"==(SAMPLE_PHASE_END, )==" "\n" |
287 | R"==(SAMPLE_PHASE_BEGIN, )==" "\n" |
288 | R"==(SAMPLE_PHASE_LAST )==" "\n" |
289 | R"==(} TSamplePhase; )==" "\n" |
290 | R"==(typedef enum EInformationGpuNode { )==" "\n" |
291 | R"==(INFORMATION_GPUNODE_3D = 0, )==" "\n" |
292 | R"==(INFORMATION_GPUNODE_VIDEO = 1, )==" "\n" |
293 | R"==(INFORMATION_GPUNODE_BLT = 2, )==" "\n" |
294 | R"==(INFORMATION_GPUNODE_VE = 3, )==" "\n" |
295 | R"==(INFORMATION_GPUNODE_VCS2 = 4, )==" "\n" |
296 | R"==(INFORMATION_GPUNODE_REAL_MAX )==" "\n" |
297 | R"==(= 5, )==" "\n" |
298 | R"==(INFORMATION_GPUNODE_LAST )==" "\n" |
299 | R"==(} TInformationGpuNode; )==" "\n" |
300 | R"==(typedef enum EHwUnitType { )==" "\n" |
301 | R"==(HW_UNIT_GPU, )==" "\n" |
302 | R"==(HW_UNIT_SLICE, )==" "\n" |
303 | R"==(HW_UNIT_SUBSLICE, )==" "\n" |
304 | R"==(HW_UNIT_SUBSLICE_BANK, )==" "\n" |
305 | R"==(HW_UNIT_EU_UNIT, )==" "\n" |
306 | R"==(HW_UNIT_UNCORE, )==" "\n" |
307 | R"==(HW_UNIT_LAST )==" "\n" |
308 | R"==(} THwUnitType; )==" "\n" |
309 | R"==(typedef enum EDeltaFunctionType { )==" "\n" |
310 | R"==(DELTA_FUNCTION_NULL = 0, )==" "\n" |
311 | R"==(DELTA_N_BITS, )==" "\n" |
312 | R"==(DELTA_BOOL_OR, )==" "\n" |
313 | R"==(DELTA_BOOL_XOR, )==" "\n" |
314 | R"==(DELTA_GET_PREVIOUS, )==" "\n" |
315 | R"==(DELTA_GET_LAST, )==" "\n" |
316 | R"==(DELTA_NS_TIME, )==" "\n" |
317 | R"==(DELTA_FUNCTION_LAST_1_0 )==" "\n" |
318 | R"==(} TDeltaFunctionType; )==" "\n" |
319 | R"==(typedef struct SDeltaFunction_1_0 { )==" "\n" |
320 | R"==(TDeltaFunctionType FunctionType; )==" "\n" |
321 | R"==(union { )==" "\n" |
322 | R"==(uint32_t BitsCount; )==" "\n" |
323 | R"==(}; )==" "\n" |
324 | R"==(} TDeltaFunction_1_0; )==" "\n" |
325 | R"==(typedef enum EEquationElementType { )==" "\n" |
326 | R"==(EQUATION_ELEM_OPERATION, )==" "\n" |
327 | R"==(EQUATION_ELEM_RD_BITFIELD, )==" "\n" |
328 | R"==(EQUATION_ELEM_RD_UINT8, )==" "\n" |
329 | R"==(EQUATION_ELEM_RD_UINT16, )==" "\n" |
330 | R"==(EQUATION_ELEM_RD_UINT32, )==" "\n" |
331 | R"==(EQUATION_ELEM_RD_UINT64, )==" "\n" |
332 | R"==(EQUATION_ELEM_RD_FLOAT, )==" "\n" |
333 | R"==(EQUATION_ELEM_RD_40BIT_CNTR, )==" "\n" |
334 | R"==(EQUATION_ELEM_IMM_UINT64, )==" "\n" |
335 | R"==(EQUATION_ELEM_IMM_FLOAT, )==" "\n" |
336 | R"==(EQUATION_ELEM_SELF_COUNTER_VALUE, )==" "\n" |
337 | R"==(EQUATION_ELEM_GLOBAL_SYMBOL, )==" "\n" |
338 | R"==(EQUATION_ELEM_LOCAL_COUNTER_SYMBOL, )==" "\n" |
339 | R"==(EQUATION_ELEM_OTHER_SET_COUNTER_SYMBOL, )==" "\n" |
340 | R"==(EQUATION_ELEM_LOCAL_METRIC_SYMBOL, )==" "\n" |
341 | R"==(EQUATION_ELEM_OTHER_SET_METRIC_SYMBOL, )==" "\n" |
342 | R"==(EQUATION_ELEM_INFORMATION_SYMBOL, )==" "\n" |
343 | R"==(EQUATION_ELEM_STD_NORM_GPU_DURATION, )==" "\n" |
344 | R"==(EQUATION_ELEM_STD_NORM_EU_AGGR_DURATION, )==" "\n" |
345 | R"==(EQUATION_ELEM_LAST_1_0 )==" "\n" |
346 | R"==(} TEquationElementType; )==" "\n" |
347 | R"==(typedef enum EEquationOperation { )==" "\n" |
348 | R"==(EQUATION_OPER_RSHIFT, )==" "\n" |
349 | R"==(EQUATION_OPER_LSHIFT, )==" "\n" |
350 | R"==(EQUATION_OPER_AND, )==" "\n" |
351 | R"==(EQUATION_OPER_OR, )==" "\n" |
352 | R"==(EQUATION_OPER_XOR, )==" "\n" |
353 | R"==(EQUATION_OPER_XNOR, )==" "\n" |
354 | R"==(EQUATION_OPER_AND_L, )==" "\n" |
355 | R"==(EQUATION_OPER_EQUALS, )==" "\n" |
356 | R"==(EQUATION_OPER_UADD, )==" "\n" |
357 | R"==(EQUATION_OPER_USUB, )==" "\n" |
358 | R"==(EQUATION_OPER_UMUL, )==" "\n" |
359 | R"==(EQUATION_OPER_UDIV, )==" "\n" |
360 | R"==(EQUATION_OPER_FADD, )==" "\n" |
361 | R"==(EQUATION_OPER_FSUB, )==" "\n" |
362 | R"==(EQUATION_OPER_FMUL, )==" "\n" |
363 | R"==(EQUATION_OPER_FDIV, )==" "\n" |
364 | R"==(EQUATION_OPER_UGT, )==" "\n" |
365 | R"==(EQUATION_OPER_ULT, )==" "\n" |
366 | R"==(EQUATION_OPER_UGTE, )==" "\n" |
367 | R"==(EQUATION_OPER_ULTE, )==" "\n" |
368 | R"==(EQUATION_OPER_FGT, )==" "\n" |
369 | R"==(EQUATION_OPER_FLT, )==" "\n" |
370 | R"==(EQUATION_OPER_FGTE, )==" "\n" |
371 | R"==(EQUATION_OPER_FLTE, )==" "\n" |
372 | R"==(EQUATION_OPER_UMIN, )==" "\n" |
373 | R"==(EQUATION_OPER_UMAX, )==" "\n" |
374 | R"==(EQUATION_OPER_FMIN, )==" "\n" |
375 | R"==(EQUATION_OPER_FMAX, )==" "\n" |
376 | R"==(EQUATION_OPER_LAST_1_0 )==" "\n" |
377 | R"==(} TEquationOperation; )==" "\n" |
378 | R"==(typedef struct SReadParams_1_0 { )==" "\n" |
379 | R"==(uint32_t ByteOffset; )==" "\n" |
380 | R"==(uint32_t BitOffset; )==" "\n" |
381 | R"==(uint32_t BitsCount; )==" "\n" |
382 | R"==(uint32_t ByteOffsetExt; )==" "\n" |
383 | R"==(} TReadParams_1_0; )==" "\n" |
384 | R"==(typedef struct SEquationElement_1_0 { )==" "\n" |
385 | R"==(TEquationElementType Type; )==" "\n" |
386 | R"==(union { )==" "\n" |
387 | R"==(uint64_t ImmediateUInt64; )==" "\n" |
388 | R"==(float ImmediateFloat; )==" "\n" |
389 | R"==(TEquationOperation Operation; )==" "\n" |
390 | R"==(TReadParams_1_0 ReadParams; )==" "\n" |
391 | R"==(}; )==" "\n" |
392 | R"==(char *SymbolName; )==" "\n" |
393 | R"==(} TEquationElement_1_0; )==" "\n" |
394 | R"==(/*****************************************************************************\ )==" "\n" |
395 | R"==(Class: )==" "\n" |
396 | R"==(IEquation_1_0 )==" "\n" |
397 | R"==(Description: )==" "\n" |
398 | R"==(Abstract interface for the equation object. )==" "\n" |
399 | R"==(\*****************************************************************************/ )==" "\n" |
400 | R"==(class IEquation_1_0 { )==" "\n" |
401 | R"==(public: )==" "\n" |
402 | R"==(virtual ~IEquation_1_0(); )==" "\n" |
403 | R"==(virtual uint32_t GetEquationElementsCount(void); )==" "\n" |
404 | R"==(virtual TEquationElement_1_0 *GetEquationElement(uint32_t index); )==" "\n" |
405 | R"==(}; )==" "\n" |
406 | R"==(typedef struct SMetricParams_1_0 { )==" "\n" |
407 | R"==(uint32_t IdInSet; )==" "\n" |
408 | R"==(uint32_t GroupId; )==" "\n" |
409 | R"==(const char *SymbolName; )==" "\n" |
410 | R"==(const char * )==" "\n" |
411 | R"==(ShortName; )==" "\n" |
412 | R"==(const char *GroupName; )==" "\n" |
413 | R"==(const char *LongName; )==" "\n" |
414 | R"==(const char *DxToOglAlias; )==" "\n" |
415 | R"==(uint32_t UsageFlagsMask; )==" "\n" |
416 | R"==(uint32_t ApiMask; )==" "\n" |
417 | R"==(TMetricResultType ResultType; )==" "\n" |
418 | R"==(const char *MetricResultUnits; )==" "\n" |
419 | R"==(TMetricType MetricType; )==" "\n" |
420 | R"==(uint64_t )==" "\n" |
421 | R"==(LowWatermark; )==" "\n" |
422 | R"==(uint64_t )==" "\n" |
423 | R"==(HighWatermark; )==" "\n" |
424 | R"==(THwUnitType HwUnitType; )==" "\n" |
425 | R"==(IEquation_1_0 *IoReadEquation; )==" "\n" |
426 | R"==(IEquation_1_0 *QueryReadEquation; )==" "\n" |
427 | R"==(TDeltaFunction_1_0 DeltaFunction; )==" "\n" |
428 | R"==(IEquation_1_0 *NormEquation; )==" "\n" |
429 | R"==(IEquation_1_0 *MaxValueEquation; )==" "\n" |
430 | R"==(} TMetricParams_1_0; )==" "\n" |
431 | R"==(typedef struct SInformationParams_1_0 { )==" "\n" |
432 | R"==(uint32_t IdInSet; )==" "\n" |
433 | R"==(const char *SymbolName; )==" "\n" |
434 | R"==(const char *ShortName; )==" "\n" |
435 | R"==(const char *GroupName; )==" "\n" |
436 | R"==(const char *LongName; )==" "\n" |
437 | R"==(uint32_t ApiMask; )==" "\n" |
438 | R"==(TInformationType InfoType; )==" "\n" |
439 | R"==(const char *InfoUnits; )==" "\n" |
440 | R"==(IEquation_1_0 *IoReadEquation; )==" "\n" |
441 | R"==(IEquation_1_0 *QueryReadEquation; )==" "\n" |
442 | R"==(TDeltaFunction_1_0 OverflowFunction; )==" "\n" |
443 | R"==(} TInformationParams_1_0; )==" "\n" |
444 | R"==(/*****************************************************************************\ )==" "\n" |
445 | R"==(Class: )==" "\n" |
446 | R"==(IInformation_1_0 )==" "\n" |
447 | R"==(Description: )==" "\n" |
448 | R"==(Abstract interface for the measurement information parameter. )==" "\n" |
449 | R"==(\*****************************************************************************/ )==" "\n" |
450 | R"==(class IInformation_1_0 { )==" "\n" |
451 | R"==(public: )==" "\n" |
452 | R"==(virtual ~IInformation_1_0(); )==" "\n" |
453 | R"==(virtual TInformationParams_1_0 *GetParams(); )==" "\n" |
454 | R"==(}; )==" "\n" |
455 | R"==(/*****************************************************************************\ )==" "\n" |
456 | R"==(Class: )==" "\n" |
457 | R"==(IMetric_1_0 )==" "\n" |
458 | R"==(Description: )==" "\n" |
459 | R"==(Abstract interface for the metric that is sampled. )==" "\n" |
460 | R"==(\*****************************************************************************/ )==" "\n" |
461 | R"==(class IMetric_1_0 { )==" "\n" |
462 | R"==(public: )==" "\n" |
463 | R"==(virtual ~IMetric_1_0(); )==" "\n" |
464 | R"==(virtual TMetricParams_1_0 *GetParams(); )==" "\n" |
465 | R"==(}; )==" "\n" |
466 | R"==(/*****************************************************************************\ )==" "\n" |
467 | R"==(Class: )==" "\n" |
468 | R"==(IMetricSet_1_0 )==" "\n" |
469 | R"==(Description: )==" "\n" |
470 | R"==(Abstract interface for the metric sets mapping to different HW configuration that should be used )==" "\n" |
471 | R"==(exclusively to each other metric set in the concurrent group. )==" "\n" |
472 | R"==(\*****************************************************************************/ )==" "\n" |
473 | R"==(class IMetricSet_1_0 { )==" "\n" |
474 | R"==(public: )==" "\n" |
475 | R"==(virtual ~IMetricSet_1_0(); )==" "\n" |
476 | R"==(virtual TMetricSetParams_1_0 *GetParams(void); )==" "\n" |
477 | R"==(virtual IMetric_1_0 *GetMetric(uint32_t index); )==" "\n" |
478 | R"==(virtual IInformation_1_0 *GetInformation(uint32_t index); )==" "\n" |
479 | R"==(virtual IMetricSet_1_0 *GetComplementaryMetricSet(uint32_t index); )==" "\n" |
480 | R"==(virtual TCompletionCode Activate(void); )==" "\n" |
481 | R"==(virtual TCompletionCode Deactivate(void); )==" "\n" |
482 | R"==(virtual IMetric_1_0 *AddCustomMetric(const char *symbolName, )==" "\n" |
483 | R"==(const char *shortName, const char *groupName, const char *longName, )==" "\n" |
484 | R"==(const char *dxToOglAlias, uint32_t usageFlagsMask, uint32_t apiMask, )==" "\n" |
485 | R"==(TMetricResultType resultType, const char *resultUnits, )==" "\n" |
486 | R"==(TMetricType metricType, int64_t loWatermark, int64_t hiWatermark, )==" "\n" |
487 | R"==(THwUnitType hwType, const char *ioReadEquation, )==" "\n" |
488 | R"==(const char *deltaFunction, const char *queryReadEquation, )==" "\n" |
489 | R"==(const char *normalizationEquation, const char *maxValueEquation, )==" "\n" |
490 | R"==(const char *signalName); )==" "\n" |
491 | R"==(}; )==" "\n" |
492 | R"==(/*****************************************************************************\ )==" "\n" |
493 | R"==(Class: )==" "\n" |
494 | R"==(IMetricSet_1_1 )==" "\n" |
495 | R"==(Description: )==" "\n" |
496 | R"==(Updated 1.0 version to use with 1.1 interface version. )==" "\n" |
497 | R"==(Introduces an ability to calculate metrics from raw data. )==" "\n" |
498 | R"==(New: )==" "\n" |
499 | R"==(- SetApiFiltering )==" "\n" |
500 | R"==(- CalculateMetrics )==" "\n" |
501 | R"==(- CalculateIoMeasurementInformation )==" "\n" |
502 | R"==(\*****************************************************************************/ )==" "\n" |
503 | R"==(class IMetricSet_1_1 : public IMetricSet_1_0 { )==" "\n" |
504 | R"==(public: )==" "\n" |
505 | R"==(virtual ~IMetricSet_1_1(); )==" "\n" |
506 | R"==(virtual TCompletionCode SetApiFiltering(uint32_t apiMask); )==" "\n" |
507 | R"==(virtual TCompletionCode CalculateMetrics(const unsigned char *rawData, )==" "\n" |
508 | R"==(uint32_t rawDataSize, TTypedValue_1_0 *out, uint32_t outSize, )==" "\n" |
509 | R"==(uint32_t *outReportCount, bool enableContextFiltering); )==" "\n" |
510 | R"==(virtual TCompletionCode CalculateIoMeasurementInformation( )==" "\n" |
511 | R"==(TTypedValue_1_0 *out, uint32_t outSize); )==" "\n" |
512 | R"==(}; )==" "\n" |
513 | R"==(/*****************************************************************************\ )==" "\n" |
514 | R"==(Class: )==" "\n" |
515 | R"==(IMetricSet_1_4 )==" "\n" |
516 | R"==(Description: )==" "\n" |
517 | R"==(Updated 1.1 version to use with 1.4 interface version. )==" "\n" |
518 | R"==(Extends set params with gtType information. )==" "\n" |
519 | R"==(Updates: )==" "\n" |
520 | R"==(- GetParams )==" "\n" |
521 | R"==(\*****************************************************************************/ )==" "\n" |
522 | R"==(class IMetricSet_1_4 : public IMetricSet_1_1 { )==" "\n" |
523 | R"==(public: )==" "\n" |
524 | R"==(virtual ~IMetricSet_1_4(); )==" "\n" |
525 | R"==(virtual TMetricSetParams_1_4 *GetParams(void); )==" "\n" |
526 | R"==(}; )==" "\n" |
527 | R"==(/*****************************************************************************\ )==" "\n" |
528 | R"==(Class: )==" "\n" |
529 | R"==(IMetricSet_1_5 )==" "\n" |
530 | R"==(Description: )==" "\n" |
531 | R"==(Updated 1.4 version to use with 1.5 interface version. )==" "\n" |
532 | R"==(Adds an ability to calculate MaxValueEquations (maximal value) for each metric. )==" "\n" |
533 | R"==(Param 'enableContextFiltering' becomes deprecated. )==" "\n" |
534 | R"==(Updates: )==" "\n" |
535 | R"==(- GetComplementaryMetricSet )==" "\n" |
536 | R"==(- CalculateMetrics )==" "\n" |
537 | R"==(\*****************************************************************************/ )==" "\n" |
538 | R"==(class IMetricSet_1_5 : public IMetricSet_1_4 { )==" "\n" |
539 | R"==(public: )==" "\n" |
540 | R"==(using IMetricSet_1_1::CalculateMetrics; )==" "\n" |
541 | R"==(virtual IMetricSet_1_5 *GetComplementaryMetricSet(uint32_t index); )==" "\n" |
542 | R"==(virtual TCompletionCode CalculateMetrics(const unsigned char *rawData, )==" "\n" |
543 | R"==(uint32_t rawDataSize, TTypedValue_1_0 *out, uint32_t outSize, )==" "\n" |
544 | R"==(uint32_t *outReportCount, TTypedValue_1_0 *outMaxValues, )==" "\n" |
545 | R"==(uint32_t outMaxValuesSize); )==" "\n" |
546 | R"==(}; )==" "\n" |
547 | R"==(/*****************************************************************************\ )==" "\n" |
548 | R"==(Class: )==" "\n" |
549 | R"==(IConcurrentGroup_1_0 )==" "\n" |
550 | R"==(Description: )==" "\n" |
551 | R"==(Abstract interface for the metrics groups that can be collected concurrently to another group. )==" "\n" |
552 | R"==(\*****************************************************************************/ )==" "\n" |
553 | R"==(class IConcurrentGroup_1_0 { )==" "\n" |
554 | R"==(public: )==" "\n" |
555 | R"==(virtual ~IConcurrentGroup_1_0(); )==" "\n" |
556 | R"==(virtual TConcurrentGroupParams_1_0 *GetParams(void); )==" "\n" |
557 | R"==(virtual IMetricSet_1_0 *GetMetricSet(uint32_t index); )==" "\n" |
558 | R"==(virtual TCompletionCode OpenIoStream(IMetricSet_1_0 *metricSet, )==" "\n" |
559 | R"==(uint32_t processId, uint32_t *nsTimerPeriod, )==" "\n" |
560 | R"==(uint32_t *oaBufferSize); )==" "\n" |
561 | R"==(virtual TCompletionCode ReadIoStream( )==" "\n" |
562 | R"==(uint32_t *reportsCount, char *reportData, uint32_t readFlags); )==" "\n" |
563 | R"==(virtual TCompletionCode CloseIoStream(void); )==" "\n" |
564 | R"==(virtual TCompletionCode WaitForReports(uint32_t milliseconds); )==" "\n" |
565 | R"==(virtual IInformation_1_0 *GetIoMeasurementInformation(uint32_t index); )==" "\n" |
566 | R"==(virtual IInformation_1_0 *GetIoGpuContextInformation(uint32_t index); )==" "\n" |
567 | R"==(}; )==" "\n" |
568 | R"==(/*****************************************************************************\ )==" "\n" |
569 | R"==(Class: )==" "\n" |
570 | R"==(IConcurrentGroup_1_1 )==" "\n" |
571 | R"==(Description: )==" "\n" |
572 | R"==(Updated 1.0 version to use with 1.1 interface version. )==" "\n" |
573 | R"==(Updates: )==" "\n" |
574 | R"==(- GetMetricSet )==" "\n" |
575 | R"==(\*****************************************************************************/ )==" "\n" |
576 | R"==(class IConcurrentGroup_1_1 : public IConcurrentGroup_1_0 { )==" "\n" |
577 | R"==(public: )==" "\n" |
578 | R"==(virtual IMetricSet_1_1 *GetMetricSet(uint32_t index); )==" "\n" |
579 | R"==(}; )==" "\n" |
580 | R"==(/*****************************************************************************\ )==" "\n" |
581 | R"==(Class: )==" "\n" |
582 | R"==(IConcurrentGroup_1_3 )==" "\n" |
583 | R"==(Description: )==" "\n" |
584 | R"==(Updated 1.1 version to use with 1.3 interface version. )==" "\n" |
585 | R"==(Introduces setting Stream Sampling Type. )==" "\n" |
586 | R"==(New: )==" "\n" |
587 | R"==(- SetIoStreamSamplingType )==" "\n" |
588 | R"==(\*****************************************************************************/ )==" "\n" |
589 | R"==(class IConcurrentGroup_1_3 : public IConcurrentGroup_1_1 { )==" "\n" |
590 | R"==(public: )==" "\n" |
591 | R"==(virtual TCompletionCode SetIoStreamSamplingType(TSamplingType type); )==" "\n" |
592 | R"==(}; )==" "\n" |
593 | R"==(/*****************************************************************************\ )==" "\n" |
594 | R"==(Class: )==" "\n" |
595 | R"==(IConcurrentGroup_1_5 )==" "\n" |
596 | R"==(Description: )==" "\n" |
597 | R"==(Updated 1.3 version to use with 1.5 interface version. )==" "\n" |
598 | R"==(Updates: )==" "\n" |
599 | R"==(- GetMetricSet )==" "\n" |
600 | R"==(\*****************************************************************************/ )==" "\n" |
601 | R"==(class IConcurrentGroup_1_5 : public IConcurrentGroup_1_3 { )==" "\n" |
602 | R"==(public: )==" "\n" |
603 | R"==(virtual IMetricSet_1_5 *GetMetricSet(uint32_t index); )==" "\n" |
604 | R"==(}; )==" "\n" |
605 | R"==(/*****************************************************************************\ )==" "\n" |
606 | R"==(Class: )==" "\n" |
607 | R"==(IOverride_1_2 )==" "\n" |
608 | R"==(Description: )==" "\n" |
609 | R"==(Abstract interface for Metrics Device overrides. )==" "\n" |
610 | R"==(\*****************************************************************************/ )==" "\n" |
611 | R"==(class IOverride_1_2 { )==" "\n" |
612 | R"==(public: )==" "\n" |
613 | R"==(virtual ~IOverride_1_2(); )==" "\n" |
614 | R"==(virtual TOverrideParams_1_2 *GetParams(void); )==" "\n" |
615 | R"==(virtual TCompletionCode SetOverride( )==" "\n" |
616 | R"==(TSetOverrideParams_1_2 *params, uint32_t paramsSize); )==" "\n" |
617 | R"==(}; )==" "\n" |
618 | R"==(/*****************************************************************************\ )==" "\n" |
619 | R"==(Class: )==" "\n" |
620 | R"==(IMetricsDevice_1_0 )==" "\n" |
621 | R"==(Description: )==" "\n" |
622 | R"==(Abstract interface for the GPU metrics root object. )==" "\n" |
623 | R"==(\*****************************************************************************/ )==" "\n" |
624 | R"==(class IMetricsDevice_1_0 { )==" "\n" |
625 | R"==(public: )==" "\n" |
626 | R"==(virtual ~IMetricsDevice_1_0(); )==" "\n" |
627 | R"==(virtual TMetricsDeviceParams_1_0 *GetParams(void); )==" "\n" |
628 | R"==(virtual IConcurrentGroup_1_0 *GetConcurrentGroup(uint32_t index); )==" "\n" |
629 | R"==(virtual TGlobalSymbol_1_0 *GetGlobalSymbol(uint32_t index); )==" "\n" |
630 | R"==(virtual TTypedValue_1_0 *GetGlobalSymbolValueByName(const char *name); )==" "\n" |
631 | R"==(virtual TCompletionCode GetLastError(void); )==" "\n" |
632 | R"==(virtual TCompletionCode GetGpuCpuTimestamps(uint64_t *gpuTimestampNs, )==" "\n" |
633 | R"==(uint64_t *cpuTimestampNs, uint32_t *cpuId); )==" "\n" |
634 | R"==(}; )==" "\n" |
635 | R"==(/*****************************************************************************\ )==" "\n" |
636 | R"==(Class: )==" "\n" |
637 | R"==(IMetricsDevice_1_1 )==" "\n" |
638 | R"==(Description: )==" "\n" |
639 | R"==(Updated 1.0 version to use with 1.1 interface version. )==" "\n" |
640 | R"==(Updates: )==" "\n" |
641 | R"==(- GetConcurrentGroup )==" "\n" |
642 | R"==(\*****************************************************************************/ )==" "\n" |
643 | R"==(class IMetricsDevice_1_1 : public IMetricsDevice_1_0 { )==" "\n" |
644 | R"==(public: )==" "\n" |
645 | R"==(virtual IConcurrentGroup_1_1 *GetConcurrentGroup(uint32_t index); )==" "\n" |
646 | R"==(}; )==" "\n" |
647 | R"==(/*****************************************************************************\ )==" "\n" |
648 | R"==(Class: )==" "\n" |
649 | R"==(IMetricsDevice_1_2 )==" "\n" |
650 | R"==(Description: )==" "\n" |
651 | R"==(Updated 1.1 version to use with 1.2 interface version. )==" "\n" |
652 | R"==(Introduces an interface for getting overrides. )==" "\n" |
653 | R"==(Updates: )==" "\n" |
654 | R"==(- GetParams )==" "\n" |
655 | R"==(New: )==" "\n" |
656 | R"==(- GetOverride )==" "\n" |
657 | R"==(- GetOverrideByName )==" "\n" |
658 | R"==(\*****************************************************************************/ )==" "\n" |
659 | R"==(class IMetricsDevice_1_2 : public IMetricsDevice_1_1 { )==" "\n" |
660 | R"==(public: )==" "\n" |
661 | R"==(virtual TMetricsDeviceParams_1_2 *GetParams(void); )==" "\n" |
662 | R"==(virtual IOverride_1_2 *GetOverride(uint32_t index); )==" "\n" |
663 | R"==(virtual IOverride_1_2 *GetOverrideByName(const char *symbolName); )==" "\n" |
664 | R"==(}; )==" "\n" |
665 | R"==(/*****************************************************************************\ )==" "\n" |
666 | R"==(Class: )==" "\n" |
667 | R"==(IMetricsDevice_1_5 )==" "\n" |
668 | R"==(Description: )==" "\n" |
669 | R"==(Updated 1.2 version to use with 1.5 interface version. )==" "\n" |
670 | R"==(Updates: )==" "\n" |
671 | R"==(- GetConcurrentGroup )==" "\n" |
672 | R"==(\*****************************************************************************/ )==" "\n" |
673 | R"==(class IMetricsDevice_1_5 : public IMetricsDevice_1_2 { )==" "\n" |
674 | R"==(public: )==" "\n" |
675 | R"==(virtual IConcurrentGroup_1_5 *GetConcurrentGroup(uint32_t index); )==" "\n" |
676 | R"==(}; )==" "\n" |
677 | R"==(#ifdef __cplusplus )==" "\n" |
678 | R"==(extern "C" { )==" "\n" |
679 | R"==(#endif )==" "\n" |
680 | R"==(typedef TCompletionCode(MD_STDCALL *OpenMetricsDevice_fn)( )==" "\n" |
681 | R"==(IMetricsDevice_1_5 **device); )==" "\n" |
682 | R"==(typedef TCompletionCode(MD_STDCALL *OpenMetricsDeviceFromFile_fn)( )==" "\n" |
683 | R"==(const char *fileName, void *openParams, IMetricsDevice_1_5 **device); )==" "\n" |
684 | R"==(typedef TCompletionCode(MD_STDCALL *CloseMetricsDevice_fn)( )==" "\n" |
685 | R"==(IMetricsDevice_1_5 *device); )==" "\n" |
686 | R"==(typedef TCompletionCode(MD_STDCALL *SaveMetricsDeviceToFile_fn)( )==" "\n" |
687 | R"==(const char *fileName, void *saveParams, IMetricsDevice_1_5 *device); )==" "\n" |
688 | R"==(#ifdef __cplusplus )==" "\n" |
689 | R"==(} )==" "\n" |
690 | R"==(#endif )==" "\n" |
691 | R"==(}; )==" "\n" |
692 | R"==(#endif )==" "\n" |
693 | R"==()==" ; |
694 | } |
695 | } |
696 | } |
697 | } |