Skip to content

Conversation

@jianglan89
Copy link
Collaborator

No description provided.

@jianglan89 jianglan89 requested a review from LLLLKKKK as a code owner December 2, 2025 06:30
@jianglan89 jianglan89 force-pushed the viz_util branch 2 times, most recently from 61e530e to 9821c1e Compare December 2, 2025 07:57
@jianglan89 jianglan89 enabled auto-merge (rebase) December 2, 2025 08:02
@jianglan89 jianglan89 force-pushed the viz_util branch 2 times, most recently from ac0230f to 5485911 Compare December 2, 2025 08:18
return DEFAULT_VIZTRACER_ENABLE or force_trace


def _get_global_tracer():
Copy link
Collaborator

@zhangjianning-zjn zhangjianning-zjn Dec 2, 2025

Choose a reason for hiding this comment

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

No need to store a _global_tracer, as viztracer has already registered the global tracer internally

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for multi thread reuse tracer

@jianglan89 jianglan89 disabled auto-merge December 2, 2025 11:35
@jianglan89 jianglan89 enabled auto-merge (rebase) December 2, 2025 11:44
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.

2 participants