1
0
mirror of https://github.com/google/benchmark.git synced 2025-03-30 14:10:25 +08:00

revert more

This commit is contained in:
Eric Fiselier 2015-03-09 16:13:19 -04:00
parent 85b7f64d1a
commit 685b105875
2 changed files with 2 additions and 6 deletions

View File

@ -20,7 +20,6 @@
#include "internal_macros.h"
namespace benchmark {
#ifdef OS_WINDOWS
// Window's _sleep takes milliseconds argument.
void SleepForMilliseconds(int milliseconds) { _sleep(milliseconds); }

View File

@ -4,21 +4,18 @@
#include <string>
namespace benchmark {
typedef double WallTime;
namespace walltime {
WallTime Now();
// GIVEN: walltime, generic format string (as understood by strftime),
// a boolean flag specifying if the time is local or UTC (true=local).
// RETURNS: the formatted string. ALSO RETURNS: the remaining number of
// microseconds (never printed in the string since strftime does not
// understand it)
// microseconds (never printed in the string since strftime does not understand
// it)
std::string Print(WallTime time, const char *format, bool local,
int *remainder_us);
} // end namespace walltime
} // end namespace benchmark