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

Enable custom profiling interval via CLI flag (#357) #437

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Oct 12, 2024

  1. Add guest profile interval

    omarjatoi committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    158116b View commit details
    Browse the repository at this point in the history
  2. Update the profiler mode checking function

    Add match case for when interval is None, and when one exists
    omarjatoi committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    882a9ff View commit details
    Browse the repository at this point in the history
  3. Add profile_guest_interval() to RunArgs aswell

    also update `profile_guest()`, ignore interval in that function
    omarjatoi committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    8b65baa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2e07d0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    927c59c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    13f2cd2 View commit details
    Browse the repository at this point in the history
  7. Update ExecuteCtx arguments in tests

    Pass `None` for profiling interval in tests
    omarjatoi committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    1a88bd0 View commit details
    Browse the repository at this point in the history
  8. Update example code in comments

    ExecuteCtx::new takes an additional argument now, namely the profiling interval.
    omarjatoi committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    86f7c58 View commit details
    Browse the repository at this point in the history