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

Unified Diff: samples/third_party/dromaeo/common/Interval.dart

Issue 199003005: Package-ify Dromaeo and browser controller functionality (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « samples/third_party/dromaeo/common/BenchUtil.dart ('k') | samples/third_party/dromaeo/common/Math2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/common/Interval.dart
diff --git a/samples/third_party/dromaeo/common/Interval.dart b/samples/third_party/dromaeo/common/Interval.dart
deleted file mode 100644
index 50d2d842e44732171c2a02f39d530f74705d59ea..0000000000000000000000000000000000000000
--- a/samples/third_party/dromaeo/common/Interval.dart
+++ /dev/null
@@ -1,32 +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.
-
-part of common;
-
-// 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 | « samples/third_party/dromaeo/common/BenchUtil.dart ('k') | samples/third_party/dromaeo/common/Math2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698