index e15a688315b3a2753663ab1cc98cfcea74976e82..d8b8e58eb1be15acc1da721604cc53b11578b050 100644 (file)
#include <string>
#include <map>
+#include <inttypes.h>
+
static int64_t gBytesProcessed;
static int64_t gBenchmarkTotalTimeNs;
static int64_t gBenchmarkStartTimeNs;
snprintf(full_name, sizeof(full_name), "%s", name_);
}
- printf("%-20s %10lld %10lld%s\n", full_name,
- static_cast<int64_t>(iterations), gBenchmarkTotalTimeNs/iterations, throughput);
+ printf("%-20s %10d %10" PRId64 "%s\n", full_name,
+ iterations, gBenchmarkTotalTimeNs/iterations, throughput);
fflush(stdout);
}