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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 1402383003: Simplify timeline backend (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index 79cbf8760f5ded44c0ce173349c21c489faa2c9e..da92dac901728dab1eeaf11945dc9c38ea2bd2b0 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -9426,7 +9426,7 @@ TEST_CASE(Timeline_Dart_TimelineDuration) {
Dart_TimelineDuration("testDurationEvent", 0, 1);
// Check that it is in the output.
TimelineEventRecorder* recorder = Timeline::recorder();
- Timeline::ReclaimIsolateBlocks();
+ Timeline::ReclaimCachedBlocksFromThreads();
JSONStream js;
IsolateTimelineEventFilter filter(isolate);
recorder->PrintJSON(&js, &filter);
@@ -9443,7 +9443,7 @@ TEST_CASE(Timeline_Dart_TimelineInstant) {
Dart_TimelineInstant("testInstantEvent");
// Check that it is in the output.
TimelineEventRecorder* recorder = Timeline::recorder();
- Timeline::ReclaimIsolateBlocks();
+ Timeline::ReclaimCachedBlocksFromThreads();
JSONStream js;
IsolateTimelineEventFilter filter(isolate);
recorder->PrintJSON(&js, &filter);
@@ -9465,7 +9465,7 @@ TEST_CASE(Timeline_Dart_TimelineAsyncDisabled) {
Dart_TimelineAsyncEnd("testAsyncEvent", async_id);
// Check that testAsync is not in the output.
TimelineEventRecorder* recorder = Timeline::recorder();
- Timeline::ReclaimIsolateBlocks();
+ Timeline::ReclaimCachedBlocksFromThreads();
JSONStream js;
TimelineEventFilter filter;
recorder->PrintJSON(&js, &filter);
@@ -9488,7 +9488,7 @@ TEST_CASE(Timeline_Dart_TimelineAsync) {
// Check that it is in the output.
TimelineEventRecorder* recorder = Timeline::recorder();
- Timeline::ReclaimIsolateBlocks();
+ Timeline::ReclaimCachedBlocksFromThreads();
JSONStream js;
IsolateTimelineEventFilter filter(isolate);
recorder->PrintJSON(&js, &filter);
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698