-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[segmentation_platform] Fix nesting of model execution trace …
…events" This reverts commit 5a0906c. Reason for revert: Speculative revert for crbug.com/1401661 Original change's description: > [segmentation_platform] Fix nesting of model execution trace events > > Currently the ModelExecutionImpl::ExecuteModel trace event would finish > after its parent ModelExecutionImpl::ExecutionState event. The parent > is closed within RunModelExecutionCallback, whereas the child is closed > when ModelExecutionImpl::ExecuteModel ends since it is on the stack. > > This could lead to confusing timestamps in the trace log. > > This CL changes the implementation of this to ensure that the order of > closing the events is correct. In addition, it makes a change to now > store the perfetto::Track instead of looking it up when the trace event > goes out of scope, which simplifies readability. > > Bug: 1393919 > Change-Id: Ic4e331559718b069f606de387abe3ee8fbe1bdf1 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4098382 > Reviewed-by: Eric Seckler <eseckler@chromium.org> > Reviewed-by: Siddhartha S <ssid@chromium.org> > Commit-Queue: Tommy Nyquist <nyquist@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1084043} Bug: 1393919 Change-Id: I2092ada77fc6d794d3025acc36b25041438be0a7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4114083 Reviewed-by: Eric Seckler <eseckler@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by: Christian Xu <christianxu@chromium.org> Owners-Override: Christian Xu <christianxu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1084319}
- Loading branch information
Justin Cohen
authored and
Chromium LUCI CQ
committed
Dec 16, 2022
1 parent
c86d872
commit c52c5f7
Showing
5 changed files
with
21 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters