From a5ec62a31e0145fd30cb9ef604a9463067988233 Mon Sep 17 00:00:00 2001 From: Jordan Cheney Date: Thu, 10 Jul 2014 16:51:52 -0400 Subject: [PATCH] replaced printf with qDebug --- openbr/plugins/time.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/time.cpp b/openbr/plugins/time.cpp index c1b9755..466a15b 100644 --- a/openbr/plugins/time.cpp +++ b/openbr/plugins/time.cpp @@ -50,9 +50,9 @@ private: { (void)output; - printf("\n\nProfiled %lu images:\n" - "\tavg time per image: %f ms\n" - "\tavg time per pixel: %f ms\n",numImgs, (double)timeElapsed / numImgs, (double)timeElapsed / numPixels); + qDebug() << "\n\nProfiled " << numImgs << " images:\n" << + "\tavg time per image: " << (double)timeElapsed / numImgs << " ms\n" << + "\tavg time per pixel: " << (double)timeElapsed / numPixels << " ms\n"; timeElapsed = 0; numImgs = 0; -- libgit2 0.21.4