Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create a conditional zone? #985

Open
diverru opened this issue Feb 17, 2025 · 0 comments
Open

Is it possible to create a conditional zone? #985

diverru opened this issue Feb 17, 2025 · 0 comments

Comments

@diverru
Copy link

diverru commented Feb 17, 2025

Is it possible to start some zone in one function and end in another, but end only when some condition met?

I know, that there is C Api, allowing to start zone in one function and end in another, but i need to take into account only zones that met condtions. For example

  void Foo() {  StartZone("xxx"); ... } 
  void Bar() {
     ...
     if (some_condition) {
         EndZone("xxx");
     } 

If some_condition that zone should be ignored completely

@diverru diverru changed the title Is it possible to start some zone in one function and end in another, but end only when some condition met Is it possible to create conditional zone? Feb 17, 2025
@diverru diverru changed the title Is it possible to create conditional zone? Is it possible to create a conditional zone? Feb 17, 2025
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

No branches or pull requests

1 participant