Skip to content

Conversation

@qjia7
Copy link
Contributor

@qjia7 qjia7 commented Jan 19, 2026

Description

Motivation and Context

}
context_.Replay(captured_commands_, *graph_buffer_mgr_);
if (profiler_->Enabled()) {
context_.CollectProfilingData(profiler_->Events());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you know, I deleted the parameter inCollectProfilingData(), so this needs special attention here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When replaying, OnRunStart and OnRunEnd will be not called? It seems it is difficult for considering run-level profiling for replaying here

Copy link
Contributor Author

@qjia7 qjia7 Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update this pr if #26846 is merged first.

When replaying, OnRunStart and OnRunEnd will be not called? It seems it is difficult for considering run-level profiling for replaying here

Maybe we can extend Status ReplayGraph(int graph_annotation_id) to Status ReplayGraph(int graph_annotation_id, bool run_profiling = false) to support.

@qjia7 qjia7 requested a review from xiaofeihan1 January 19, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants