This is a static copy of a profile report

Home

Function details for RandStream.RandStream>RandStream.createGlobalStreamThis is a static copy of a profile report

Home

RandStream.RandStream>RandStream.createGlobalStream (Calls: 1, Time: 0.003 s)
Generated 19-Jun-2021 04:39:03 using performance time.
class method in file /nfs/linux/matlab-2019b/toolbox/matlab/randfun/@RandStream/RandStream.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...RandStream>localGetSetGlobalStreamclass method1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
751
globe = RandStream.newarray(1)...
10.002 s69.3%
756
[globe.StreamID,globe.Type,glo...
10.000 s11.4%
753
globe.NumStreams = uint64(1);
10.000 s8.5%
752
globe.Params = [];
10.000 s5.0%
754
globe.StreamIndex = uint64(1);
10.000 s2.6%
All other lines  0.000 s3.2%
Totals  0.003 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)2
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 750 
        function globe = createGlobalStream()
  0.002 
      1 
 751
            globe = RandStream.newarray(1); 
< 0.001 
      1 
 752
            globe.Params = []; 
< 0.001 
      1 
 753
            globe.NumStreams = uint64(1); 
< 0.001 
      1 
 754
            globe.StreamIndex = uint64(1); 
< 0.001 
      1 
 755
            globe.SpawnIncr = uint64(0); 
< 0.001 
      1 
 756
            [globe.StreamID,globe.Type,globe.Seed] = builtin('_RandStream_getset_mex','defaultstream'); 
 757 
            % antithetic, normalTransform, substream, and state come from existing defaultstream C++ object
< 0.001 
      1 
 758
        end 

Other subfunctions in this file are not included in this listing.