Commit a5ec62a31e0145fd30cb9ef604a9463067988233

Authored by Jordan Cheney
Committed by Jordan Cheney
1 parent 5695cd22

replaced printf with qDebug

Showing 1 changed file with 3 additions and 3 deletions
openbr/plugins/time.cpp
... ... @@ -50,9 +50,9 @@ private:
50 50 {
51 51 (void)output;
52 52  
53   - printf("\n\nProfiled %lu images:\n"
54   - "\tavg time per image: %f ms\n"
55   - "\tavg time per pixel: %f ms\n",numImgs, (double)timeElapsed / numImgs, (double)timeElapsed / numPixels);
  53 + qDebug() << "\n\nProfiled " << numImgs << " images:\n" <<
  54 + "\tavg time per image: " << (double)timeElapsed / numImgs << " ms\n" <<
  55 + "\tavg time per pixel: " << (double)timeElapsed / numPixels << " ms\n";
56 56  
57 57 timeElapsed = 0;
58 58 numImgs = 0;
... ...