parallel_profiler_start.m

From Spinach Documentation Wiki
Revision as of 16:56, 4 July 2019 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:parallel_profiler_start.m}} __NOTOC__ An include that starts profiling infrastructure around parallel stages. Should be invoked just before a parfor or an spmd....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An include that starts profiling infrastructure around parallel stages. Should be invoked just before a parfor or an spmd. This function sets Matlab's tic() and ticBytes() timers and also launches a parallel profiler if the user added 'dafuq' switch to spin_system.sys.enable cell array.

Syntax

    parallel_profiler_start

Notes

This is for developers, do not use unless you have a good reason to profile parallel stages.

See also

parallel_profiler_report.m


Version 2.4, authors: Ilya Kuprov