PlasmaCalcs
  • Usage
  • PlasmaCalcs API
    • plasma_calculator
    • quantities
    • dimensions
    • units
    • hookups
    • addons
    • other_calculators
    • mhd
    • multi_run_analysis
    • tools
      • array_select
      • arrays
      • display
      • docs_tools
      • fft_tools
      • history
      • imports
      • io_tools
      • iterables
      • math
      • multiprocessing
      • oop_tools
      • os_tools
      • properties
      • pytools
      • sci_tools
      • sentinels
      • sql_tools
      • supercomputer
      • timing
        • print_profile
        • profiling
        • start_profiling
        • stop_profiling
        • Profile
        • ProgressUpdater
        • Stopwatch
        • TickingWatch
        • TimeLimit
      • trees
      • xarray_tools
    • plotting
    • defaults
    • errors
PlasmaCalcs
  • PlasmaCalcs API
  • tools
  • timing
  • print_profile
  • View page source

print_profile

PlasmaCalcs.tools.timing.print_profile(sortkey=None)

prints stats from the default profiler (PROFILE).

see help(PROFILE.SortKey) for sortkey options.
Example Usage:
with profiling():
>> code to profile goes here <<
print_profile()
Previous Next

© Copyright 2025, PlasmaCalcs Developers.

Built with Sphinx using a theme provided by Read the Docs.