Index: sky/examples/raw/spinning_square.dart |
diff --git a/sky/examples/raw/spinning_square.dart b/sky/examples/raw/spinning_square.dart |
index 17072330d56a229ea035b708aba5d86df568c8ef..dbc0140d08711e0c1e2ac5daa27a75280633f9e5 100644 |
--- a/sky/examples/raw/spinning_square.dart |
+++ b/sky/examples/raw/spinning_square.dart |
@@ -7,6 +7,7 @@ import 'dart:sky'; |
double timeBase = null; |
void beginFrame(double timeStamp) { |
+ tracing.begin('beginFrame'); |
if (timeBase == null) |
timeBase = timeStamp; |
double delta = timeStamp - timeBase; |
@@ -17,6 +18,7 @@ void beginFrame(double timeStamp) { |
new Paint()..setARGB(255, 0, 255, 0)); |
view.picture = canvas.endRecording(); |
view.scheduleFrame(); |
+ tracing.end('beginFrame'); |
} |
void main() { |