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

Unified Diff: runtime/include/dart_tools_api.h

Issue 1848683002: Remove redundant timeline API (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/bin/main.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_tools_api.h
diff --git a/runtime/include/dart_tools_api.h b/runtime/include/dart_tools_api.h
index 8136726d8111b3f0cc7ddb7c1a2e93630b455c61..3f6a9c7f6f6dee976ec50c1ce93776f3e3b67f8c 100644
--- a/runtime/include/dart_tools_api.h
+++ b/runtime/include/dart_tools_api.h
@@ -1014,67 +1014,6 @@ DART_EXPORT void Dart_TimelineEvent(const char* label,
const char** argument_values);
/**
- * Add a duration timeline event to the embedder stream.
- *
- * \param label The name of the event.
- * \param start_micros The start of the duration (in microseconds)
- * \param end_micros The end of the duration (in microseconds)
- *
- * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros.
- */
-DART_EXPORT void Dart_TimelineDuration(const char* label,
- int64_t start_micros,
- int64_t end_micros);
-
-
-/**
- * Add an instant timeline event to the embedder stream.
- *
- * \param label The name of event.
- *
- * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros.
- */
-DART_EXPORT void Dart_TimelineInstant(const char* label);
-
-
-/**
- * Adds an asynchronous begin timeline event to the embedder stream.
- *
- * \param label The name of event.
- * \param async_id Pointer that receives the asynchronous id for this async
- * operation. If it is less than 0 the event was not added to the timeline.
- *
- * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros.
- */
-DART_EXPORT void Dart_TimelineAsyncBegin(const char* label,
- int64_t* async_id);
-
-
-/**
- * Adds an asynchronous instant timeline event to the embedder stream.
- *
- * \param label The name of event.
- * \param async_id the asynchronous id received by Dart_TimelineAsyncBegin.
- *
- * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros.
- */
-DART_EXPORT void Dart_TimelineAsyncInstant(const char* label,
- int64_t async_id);
-
-
-/**
- * Adds an asynchronous end timeline event to the embedder stream.
- *
- * \param label The name of event.
- * \param async_id the asynchronous id received by Dart_TimelineAsyncBegin.
- *
- * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros.
- */
-DART_EXPORT void Dart_TimelineAsyncEnd(const char* label,
- int64_t async_id);
-
-
-/**
* Called by the VM to let the embedder know when to start recording into the
* timeline. Can be called from any thread.
*/
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698