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

Side by Side Diff: corelib/unified/core/stopwatch.dart

Issue 10830117: Port the remaining of dart:core to the unified corelib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unchanged files. Created 8 years, 4 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
Mads Ager (google) 2012/08/01 14:33:08 Ditto?
Anders Johnsen 2012/08/01 14:39:08 Ditto.
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 /** 5 /**
6 * A simple [Stopwatch] interface to measure elapsed time. 6 * A simple [Stopwatch] interface to measure elapsed time.
7 */ 7 */
8 interface Stopwatch default StopwatchImplementation { 8 interface Stopwatch default StopwatchImplementation {
9 9
10 /** 10 /**
11 * Creates a [Stopwatch] in stopped state with a zero elapsed count. 11 * Creates a [Stopwatch] in stopped state with a zero elapsed count.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 * Returns the [elapsed] counter converted to milliseconds. 57 * Returns the [elapsed] counter converted to milliseconds.
58 */ 58 */
59 int elapsedInMs(); 59 int elapsedInMs();
60 60
61 /** 61 /**
62 * Returns the frequency of the elapsed counter in Hz. 62 * Returns the frequency of the elapsed counter in Hz.
63 */ 63 */
64 int frequency(); 64 int frequency();
65 65
66 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698