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

Unified Diff: frog/leg/compiler.dart

Issue 8537011: Rename StopWatch to Stopwatch. Add new Stopwatch.start() and Stopwatch.reset(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years, 1 month 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 | « corelib/src/stopwatch.dart ('k') | frog/leg/scanner/parser_bench.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/compiler.dart
===================================================================
--- frog/leg/compiler.dart (revision 1504)
+++ frog/leg/compiler.dart (working copy)
@@ -118,9 +118,9 @@
class CompilerTask {
final Compiler compiler;
- final StopWatch watch;
+ final Stopwatch watch;
- CompilerTask(this.compiler) : watch = new StopWatch();
+ CompilerTask(this.compiler) : watch = new Stopwatch();
String get name() => 'Unknown task';
int get timing() => watch.elapsedInMs();
« no previous file with comments | « corelib/src/stopwatch.dart ('k') | frog/leg/scanner/parser_bench.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698