diff options
-rw-r--r-- | apps/plugins/test_codec.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index e948107cf8..2379ebb1b7 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -613,6 +613,17 @@ static enum plugin_status test_track(const char* filename) | |||
613 | 613 | ||
614 | rb->snprintf(str,sizeof(str),"%d.%02d%% realtime",(int)speed/100,(int)speed%100); | 614 | rb->snprintf(str,sizeof(str),"%d.%02d%% realtime",(int)speed/100,(int)speed%100); |
615 | log_text(str,true); | 615 | log_text(str,true); |
616 | |||
617 | #ifndef SIMULATOR | ||
618 | /* show effective clockrate in MHz needed for realtime decoding */ | ||
619 | if (speed > 0) | ||
620 | { | ||
621 | speed = CPUFREQ_MAX / speed; | ||
622 | rb->snprintf(str,sizeof(str),"%d.%02dMHz needed for realtime", | ||
623 | (int)speed/100,(int)speed%100); | ||
624 | log_text(str,true); | ||
625 | } | ||
626 | #endif | ||
616 | } | 627 | } |
617 | 628 | ||
618 | res = PLUGIN_OK; | 629 | res = PLUGIN_OK; |