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

gh-112567: Add _Py_GetTicksPerSecond() function #112587

Merged
merged 2 commits into from
Dec 1, 2023

Commits on Dec 1, 2023

  1. pythongh-112567: Add _Py_GetTicksPerSecond() function

    * Move _PyRuntimeState.time to _posixstate.ticks_per_second and
      time_module_state.ticks_per_second.
    * Add time_module_state.clocks_per_second.
    * Add process_time_times() helper function, called by
      _PyTime_GetProcessTimeWithInfo().
    * Rename _PyTime_GetClockWithInfo() to py_clock().
    * Rename _PyTime_GetProcessTimeWithInfo() to py_process_time().
    * os.times() is now always built: no longer rely on HAVE_TIMES.
    vstinner committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    6122b77 View commit details
    Browse the repository at this point in the history
  2. Run make clinic

    vstinner committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    467d78f View commit details
    Browse the repository at this point in the history