You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc: "Create metric handles by applying parameter values on the metric programmable handle."
401
+
version: "1.11"
402
+
class: $tMetric
403
+
name: CreateFromProgrammableExp
404
+
decl: static
405
+
details:
406
+
- "This API is deprecated. Please use $tMetricCreateFromProgrammable1Exp()"
407
+
params:
408
+
- type: $t_metric_programmable_exp_handle_t
409
+
name: hMetricProgrammable
410
+
desc: "[in] handle of the metric programmable"
411
+
- type: $t_metric_programmable_param_value_exp_t*
412
+
name: pParameterValues
413
+
desc: "[in] list of parameter values to be set."
414
+
- type: uint32_t
415
+
name: parameterCount
416
+
desc: "[in] Count of parameters to set."
417
+
- type: "const char*"
418
+
name: "pName"
419
+
desc: "[in] pointer to metric name to be used. Must point to a null-terminated character array no longer than $T_MAX_METRIC_NAME."
420
+
- type: "const char*"
421
+
name: "pDescription"
422
+
desc: "[in] pointer to metric description to be used. Must point to a null-terminated character array no longer than $T_MAX_METRIC_DESCRIPTION."
423
+
- type: "uint32_t*"
424
+
name: pMetricHandleCount
425
+
desc: |
426
+
[in,out] Pointer to the number of metric handles.
427
+
if count is zero, then the driver shall update the value with the number of metric handles available for this programmable.
428
+
if count is greater than the number of metric handles available, then the driver shall update the value with the correct number of metric handles available.
429
+
- type: "$t_metric_handle_t*"
430
+
name: phMetricHandles
431
+
desc: |
432
+
[in,out][optional][range(0,*pMetricHandleCount)] array of handle of metrics.
433
+
if count is less than the number of metrics available, then driver shall only retrieve that number of metric handles.
0 commit comments