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
start_profiling
View page source
start_profiling
PlasmaCalcs.tools.timing.
start_profiling
(
)
equivalent to PROFILE.enable(). Recommended: use profiling() as a context manager instead.
Example Usage:
start_profiling()
>> code to profile goes here <<
stop_profiling()