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: tools/timer/SysTimer_mach.h

Issue 344213003: Move BenchTimer to tools as Timer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixes Created 6 years, 6 months 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
Index: tools/timer/SysTimer_mach.h
diff --git a/bench/BenchSysTimer_mach.h b/tools/timer/SysTimer_mach.h
similarity index 79%
rename from bench/BenchSysTimer_mach.h
rename to tools/timer/SysTimer_mach.h
index 44d0e5eb49a2bda1cecabe5237461fab09cc68ec..8c21d57b36723106f8e4750fa8f8f167b4ee33a7 100644
--- a/bench/BenchSysTimer_mach.h
+++ b/tools/timer/SysTimer_mach.h
@@ -1,18 +1,16 @@
-
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-#ifndef SkBenchSysTimer_DEFINED
-#define SkBenchSysTimer_DEFINED
+#ifndef SysTimer_DEFINED
+#define SysTimer_DEFINED
-//Time
#include <mach/mach.h>
#include <mach/mach_time.h>
-class BenchSysTimer {
+class SysTimer {
public:
void startWall();
void startCpu();

Powered by Google App Engine
This is Rietveld 408576698