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

Unified Diff: client/dom/benchmarks/common/Interval.dart

Issue 9374026: Move dromaeo to third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved Dromaeo to third party. Created 8 years, 10 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
« no previous file with comments | « client/dom/benchmarks/common/BenchUtil.dart ('k') | client/dom/benchmarks/common/JSON.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/benchmarks/common/Interval.dart
diff --git a/client/dom/benchmarks/common/Interval.dart b/client/dom/benchmarks/common/Interval.dart
deleted file mode 100644
index ba76be8d7e5e06ccb3450de63df990bcfd8c2c68..0000000000000000000000000000000000000000
--- a/client/dom/benchmarks/common/Interval.dart
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// A utility object for measuring time intervals.
-
-class Interval {
- int _start, _stop;
-
- Interval() {
- }
-
- void start() {
- _start = BenchUtil.now;
- }
-
- void stop() {
- _stop = BenchUtil.now;
- }
-
- // Microseconds from between start() and stop().
- int get elapsedMicrosec() {
- return (_stop - _start) * 1000;
- }
-
- // Milliseconds from between start() and stop().
- int get elapsedMillisec() {
- return (_stop - _start);
- }
-}
« no previous file with comments | « client/dom/benchmarks/common/BenchUtil.dart ('k') | client/dom/benchmarks/common/JSON.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698