Time measurement (CPU time, wall time)
There are two ways to measure time:
CPU time - the time actually spent by CPU executing method code
Wall time - the real-world time elapsed between method entry and method exit.
If there are other threads/processes concurrently running on the system,
they can affect the results.
You can customize CPU vs wall time measurement
in CPU sampling settings and
CPU tracing settings.
By default, sampling measures wall time for I/O methods only,
tracing - for all methods.