1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Benchmarking: use info level message instead of debug to show results

This commit is contained in:
f4exb 2018-04-25 18:06:47 +02:00
parent 17ea5f29b3
commit ddfcccab22

View File

@ -237,7 +237,7 @@ void MainBench::decimateFF(const float *buf, int len)
void MainBench::printResults(const QString& prefix, qint64 nsecs)
{
double ratekSs = (m_parser.getNbSamples()*m_parser.getRepetition() / (double) nsecs) * 1e6;
QDebug debug = qDebug();
debug.noquote();
debug << tr("%1: ran test in %L2 ns - sample rate: %3 kS/s").arg(prefix).arg(nsecs).arg(ratekSs);
QDebug info = qInfo();
info.noquote();
info << tr("%1: ran test in %L2 ns - sample rate: %3 kS/s").arg(prefix).arg(nsecs).arg(ratekSs);
}