Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: gpu/perftests/measurements.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_test.cc ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/perftests/measurements.cc
diff --git a/gpu/perftests/measurements.cc b/gpu/perftests/measurements.cc
index 8909b28c12b97ebb62b5c7a28d58d3e11cfdb23e..0f5932fde2c1bb5fe0acb18f981f821789668337 100644
--- a/gpu/perftests/measurements.cc
+++ b/gpu/perftests/measurements.cc
@@ -4,6 +4,8 @@
#include "gpu/perftests/measurements.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "testing/perf/perf_test.h"
#include "ui/gl/gpu_timing.h"
@@ -88,7 +90,7 @@ Measurement MeasurementTimers::GetAsMeasurement(const std::string& name) {
if (!base::ThreadTicks::IsSupported()) {
cpu_time_ = base::TimeDelta::FromMicroseconds(-1);
}
- int64 gpu_time = -1;
+ int64_t gpu_time = -1;
if (gpu_timer_.get() != nullptr && gpu_timer_->IsAvailable()) {
gpu_time = gpu_timer_->GetDeltaElapsed();
}
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_test.cc ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698