So I installed jupyter notebook through anaconda and I am working on python 3 kernel.
I am trying to do Time profiling using %time magic command as show here
The problem is that it only prints the Wall Time not the CPU Time
using %time or %%time does not help
- %timeprints the wall time for the first line only
- %%timeprints the wall time for the whole cell
I am not sure if there any specif config to print the CPU time
EDIT
To clarify using %%time should print two metrics for the whole cell
- Metric 1: CPU Times
- Metric 2: wall time
my problem is that I only get wall time not CPU time.
You may check this link on what is the expected output for %%time
