Skip to content

Commit a069d93

Browse files
committed
Update metric collection configuration in trigger schema. Increased metric_collect_time_sample_period to 32768 and renamed metric_collect_opmon_rate to metric_collect_opmon_period for clarity. Added requested_internal_states attribute for internal state configuration.
1 parent a97c5b5 commit a069d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema/appmodel/trigger.schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
<class name="ProcessingStep" description="Base class for TPG processors.">
177177
<superclass name="Jsonable"/>
178-
<attribute name="metric_collect_time_sample_period" description="If metric_collect_toggle_state is true, the processor will store values of its monitored quantities every metric_collect_time_sample_period time samples." type="u64" init-value="32768" is-not-null="no"/>
178+
<attribute name="metric_collect_time_sample_period" description="If metric_collect_toggle_state is true, the processor will store values of its monitored quantities every metric_collect_time_sample_period time samples." type="u64" init-value="100000" is-not-null="no"/>
179179
<attribute name="metric_collect_toggle_state" description="Whether metric storaging function is enabled." type="bool" init-value="0" is-not-null="no"/>
180180
<attribute name="requested_internal_states" description="config string for internal states to be collected" type="string" init-value="" is-not-null="no"/>
181181
</class>
@@ -391,7 +391,7 @@
391391
<superclass name="RawDataProcessor"/>
392392
<attribute name="frame_count_limit" description="When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP." type="u32" init-value="100" is-not-null="yes"/>
393393
<attribute name="tp_count_limit" description="When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames." type="u32" init-value="0" is-not-null="yes"/>
394-
<attribute name="metric_collect_opmon_period" description="The rate at which processor metric is polled from processors for monitoring" type="u32" init-value="32768"/>
394+
<attribute name="metric_collect_opmon_period" description="The rate at which processor metric is polled from processors for monitoring" type="u32" init-value="100000"/>
395395
<relationship name="processing_steps" class-type="ProcessingStep" low-cc="one" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/>
396396
<relationship name="sot_minima" description="TP samples over threshold minimum requirement by plane." class-type="SamplesOverThresholdMinima" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/>
397397
</class>

0 commit comments

Comments
 (0)