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

Side by Side Diff: samples/third_party/dromaeo/web/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of common; 5 part of common;
6 6
7 // A utility object for measuring time intervals. 7 // A utility object for measuring time intervals.
8 8
9 class Interval { 9 class Interval {
10 int _start, _stop; 10 int _start, _stop;
(...skipping 12 matching lines...) Expand all
23 // Microseconds from between start() and stop(). 23 // Microseconds from between start() and stop().
24 int get elapsedMicrosec { 24 int get elapsedMicrosec {
25 return (_stop - _start) * 1000; 25 return (_stop - _start) * 1000;
26 } 26 }
27 27
28 // Milliseconds from between start() and stop(). 28 // Milliseconds from between start() and stop().
29 int get elapsedMillisec { 29 int get elapsedMillisec {
30 return (_stop - _start); 30 return (_stop - _start);
31 } 31 }
32 } 32 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/web/common/BenchUtil.dart ('k') | samples/third_party/dromaeo/web/common/Math2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698