dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 51 forks source link

When interrupting run of multiple streams vaclient prints fps of last stream not average #106

Closed whbruce closed 2 years ago

whbruce commented 2 years ago

Example output: average fps is displayed as 27.57 but should be approx 30.

Starting pipeline 1
Starting pipeline object_detection/person_vehicle_bike, instance = 03dcf46c860911ec839b1c697aaaa6b4
Pipeline 1 running - instance_id = 03dcf46c860911ec839b1c697aaaa6b4
Starting pipeline 2
Starting pipeline object_detection/person_vehicle_bike, instance = 04c61624860911ec839b1c697aaaa6b4
Pipeline 2 running - instance_id = 04c61624860911ec839b1c697aaaa6b4
2 pipelines running.
Pipeline status @ 7s
- instance=03dcf46c860911ec839b1c697aaaa6b4, state=RUNNING, 33fps
- instance=04c61624860911ec839b1c697aaaa6b4, state=RUNNING, 27fps
^C
Stopping Pipeline...
Pipeline stopped
Stopping Pipeline...
Pipeline stopped
Pipeline status @ 9s
- instance=03dcf46c860911ec839b1c697aaaa6b4, state=ABORTED, 32fps
- instance=04c61624860911ec839b1c697aaaa6b4, state=ABORTED, 28fps
avg_fps: 27.57
whbruce commented 2 years ago

Fixed in v0.7.2.