async2v.application.metric module¶
Reference¶
-
class
Fps(component_id, current, target)¶ Bases:
objectFrames per second event payload
Metric emitted on the
FPS_EVENTfor all components of typeIteratingComponent-
component_id= None¶ Type: str component idof emitting component
-
current= None¶ Type: float Current number of frames per second
-
target= None¶ ” :type: int
Target frames per second configured in component
-
-
class
Duration(component_id, duration_seconds)¶ Bases:
objectProcessing duration event payload
Metric emitted on the
DURATION_EVENTfor all components of typeEventDrivenComponentorIteratingComponent-
component_id= None¶ Type: str component idof emitting component
-
duration_seconds= None¶ Average duration of one processing step (the time the
process()method runs) in seconds
-