report both capture_fps and analysis_fps

This commit is contained in:
Isaac Connor 2020-12-09 15:03:18 -05:00
parent 9d43b64d4a
commit c9bd09ae7b
1 changed files with 3 additions and 2 deletions

View File

@ -548,10 +548,11 @@ int main(int argc, char *argv[]) {
}
if ( function & ZMU_FPS ) {
if ( verbose ) {
printf("Current capture rate: %.2f frames per second\n", monitor->GetFPS());
printf("Current capture rate: %.2f frames per second, analysis rate: %.2f frames per second\n",
monitor->get_capture_fps(), monitor->get_analysis_fps());
} else {
if ( have_output ) fputc(separator, stdout);
printf("%.2f", monitor->GetFPS());
printf("capture: %.2f, analysis: %.2f", monitor->get_capture_fps(), monitor->get_analysis_fps());
have_output = true;
}
}