dart-sdk/sdk/lib/developer
Derek Xu 475240d234 Reland "[VM/Timeline] Make timestamp1_or_id variables more understandable"
This is a reland of commit 46e70a7c07

It turns out that flow events do need to be associated with IDs in
Chrome's trace format, so the diff between patchset 1 and 6 contains the
changes required to document that.

TEST=Checked that duration events still looked correct in traces written
by the Perfetto file recorder. Checked that events still looked correct
in traces recorded to the MacOS recorder. Checked that flow events still
looked correct in Observatory. Ran the
vm/cc/DartAPI_TimelineEvents_Serialization test in debug mode, and with
ASAN and TSAN.

CoreLibraryReviewExempt: Does not change any APIs, just stops passing a
value that will never be read. Specifically, we do not need to pass a
flow ID on the end side of track events.
Change-Id: I6b8bb3236339dbe54378b2e9dea06faf22b964a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/306664
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Derek Xu <derekx@google.com>
2023-06-01 19:50:38 +00:00
..
developer.dart Fix dart:developer API docs 2023-05-25 09:58:41 +00:00
developer_sources.gni
extension.dart [ dart:developer ] Apply class modifiers to dart:developer classes 2023-03-22 15:34:59 +00:00
profiler.dart [ dart:developer ] Apply class modifiers to dart:developer classes 2023-03-22 15:34:59 +00:00
service.dart [ dart:developer ] Apply class modifiers to dart:developer classes 2023-03-22 15:34:59 +00:00
timeline.dart Reland "[VM/Timeline] Make timestamp1_or_id variables more understandable" 2023-06-01 19:50:38 +00:00