tocBytes
Read how many bytes have been transferred since calling
ticBytes
Syntax
Description
tocBytes(
reads how many bytes have
been transferred since calling pool
)ticBytes
. The function displays
the total number of bytes transferred to and from each of the workers in a parallel
pool
after the most recent execution of ticBytes
.
Use the ticBytes
(pool
) and
tocBytes
(pool
) functions together to
measure how much data (and associated metadata) is transferred to and from the
workers in a parallel pool. You can use ticBytes
and
tocBytes
while executing parallel language constructs and
functions, such as parfor
, spmd
, or
parfeval
. Use ticBytes
and
tocBytes
to pass around less data and optimize your
code.
tocBytes(
displays the total number of bytes transferred in the parallel
pool
,startState
)pool
after the ticBytes
command that
generated startState
.
returns the number of bytes transferred to and from each of the workers in the
parallel bytes
= tocBytes(pool
,startState
)pool
after the ticBytes
command that
generated startState
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2016b