Skip to content

Commit 7f0c9ee

Browse files
joshuaranjanpbg-intel
authored andcommitted
reintroduce MetricGroupCreate API
Signed-off-by: Joshua Santosh Ranjan <[email protected]>
1 parent ea922c6 commit 7f0c9ee

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

scripts/tools/metricProgrammable.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,31 @@ returns:
476476
- "metricGroupCount is lesser than the number of metric group handles that could be created."
477477
--- #--------------------------------------------------------------------------
478478
type: function
479+
desc: "Create metric group handle."
480+
version: "1.11"
481+
class: $tMetricGroup
482+
name: CreateExp
483+
decl: static
484+
details:
485+
- "This API is deprecated. Please use $tCreateMetricGroupsFromMetricsExp() "
486+
params:
487+
- type: $t_device_handle_t
488+
name: hDevice
489+
desc: "[in] handle of the device"
490+
- type: "const char*"
491+
name: pName
492+
desc: "[in] pointer to metric group name. Must point to a null-terminated character array no longer than $T_MAX_METRIC_GROUP_NAME."
493+
- type: "const char*"
494+
name: pDescription
495+
desc: "[in] pointer to metric group description. Must point to a null-terminated character array no longer than $T_MAX_METRIC_GROUP_DESCRIPTION."
496+
- type: $t_metric_group_sampling_type_flags_t
497+
name: samplingType
498+
desc: "[in] Sampling type for the metric group."
499+
- type: $t_metric_group_handle_t*
500+
name: phMetricGroup
501+
desc: "[in,out] Created Metric group handle"
502+
--- #--------------------------------------------------------------------------
503+
type: function
479504
desc: "Add a metric handle to the metric group handle created using $tMetricGroupCreateExp."
480505
version: "1.9"
481506
class: $tMetricGroup

0 commit comments

Comments
 (0)