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

Unified Diff: lib/compiler/samples/leap/leap_leg.dart

Issue 11265024: Make methods in Stopwatch getters and rename to be more consistent. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « lib/compiler/implementation/tools/mini_parser.dart ('k') | lib/core/stopwatch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/samples/leap/leap_leg.dart
diff --git a/lib/compiler/samples/leap/leap_leg.dart b/lib/compiler/samples/leap/leap_leg.dart
index 5890ab97293f43c15918b89b6afc2a23a98a1588..c04f674e6e373f77fde2d7f8bbe544b675f9ef9f 100644
--- a/lib/compiler/samples/leap/leap_leg.dart
+++ b/lib/compiler/samples/leap/leap_leg.dart
@@ -127,7 +127,7 @@ class Runner {
Stopwatch sw = new Stopwatch()..start();
compiler.scanBuiltinLibraries();
sw.stop();
- return 'Scanned core libraries in ${sw.elapsedInMs()}ms';
+ return 'Scanned core libraries in ${sw.elapsedMilliseconds}ms';
}
String update(String codeText) {
@@ -197,7 +197,7 @@ class Runner {
}
}
- compiler.log("Outline ${sw.elapsedInMs()}");
+ compiler.log("Outline ${sw.elapsedMilliseconds}");
return sb.toString();
}
@@ -270,7 +270,7 @@ class LeapCompiler extends Compiler {
log('compilation failed');
return null;
}
- log('compilation succeeded: ${sw.elapsedInMs()}ms');
+ log('compilation succeeded: ${sw.elapsedMilliseconds}ms');
return e;
}
« no previous file with comments | « lib/compiler/implementation/tools/mini_parser.dart ('k') | lib/core/stopwatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698