We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d79c32 commit c76b63dCopy full SHA for c76b63d
src/com/dogcows/resources/C++Driver
@@ -20,7 +20,7 @@ static void __timer_start()
20
struct timeval tv;
21
if (gettimeofday(&tv, NULL) == 0)
22
{
23
- __time = double(tv.tv_sec) + double(tv.tv_usec) * 0.000001;
+ __time = double(tv.tv_sec) * 1000.0 + double(tv.tv_usec) * 0.001;
24
}
25
26
@@ -171,7 +171,7 @@ int main(int argc, char* argv[])
171
172
double __t = __timer_stop();
173
174
- std::cout << "# test completed in " << __t << " seconds" << std::endl;
+ std::cout << "# test completed in " << __t << "ms" << std::endl;
175
std::cout.flush();
176
177
if (__equals(__actual, __expected))
0 commit comments