Added qt screenshot test

Former-commit-id: c28e098ded780a6597952c83007fea1fe8da36fa
This commit is contained in:
T. van der Zwan
2014-03-06 21:01:14 +01:00
parent 6b63b57f17
commit 5f457fd9e3
2 changed files with 56 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ void foo_1(int pixelDecimation)
// Cleanup allocated resources of the X11 grab
XDestroyImage(xImage);
std::cout << "Time required: " << timer.elapsed() << " us" << std::endl;
std::cout << "Time required: " << timer.elapsed() << " ms" << std::endl;
XCloseDisplay(x11Display);
}
@@ -125,7 +125,7 @@ void foo_2(int pixelDecimation)
XDestroyImage(xImage);
}
}
std::cout << "Time required: " << timer.elapsed() << " us" << std::endl;
std::cout << "Time required: " << timer.elapsed() << " ms" << std::endl;
XCloseDisplay(x11Display);