parallel_profiler_start.m

From Spinach Documentation Wiki
Revision as of 19:39, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(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 sys.enable cell array before a call to create.m.

Syntax

    parallel_profiler_start

Notes

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

See also

create.m, distrib_dim.m, end_disallow_gpu.m, isworkernode.m, parallel_profiler_report.m, poolsize.m, save_anyway.m, smack.m, start_disallow_gpu.m, swizzle.m, Kernel_utilities

Version 2.4, authors: Ilya Kuprov