webatintel / aquarium

BSD 3-Clause "New" or "Revised" License
24 stars 7 forks source link

Print average fps #80

Closed JiangYizhou closed 4 years ago

JiangYizhou commented 4 years ago

Pass toggle '--print-average-fps' to print the fps when exit the app. Variance of last 100 fps is calculated to judge if the fps is stable or not. Print the average fps of last 100 fps if it's stable.

JiangYizhou commented 4 years ago

@sunlin-link PTAL, thanks.

sunlin-link commented 4 years ago

LGTM. Thanks!