This is a static copy of a profile report

Home

mapSpecialCaseTopic (Calls: 1, Time: 0.000 s)
Generated 18-May-2021 16:05:21 using performance time.
function in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+csh/mapSpecialCaseTopic.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
HelpTopicMap>HelpTopicMap.mapSingleTopicclass method1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
3
if shortname == "simulink"
10.000 s51.2%
2
relPath = "";
10.000 s9.8%
23
end
10.000 s6.1%
22
end
10.000 s2.4%
All other lines  0.000 s30.5%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function23
Non-code lines (comments, blank lines)1
Code lines (lines that can run)22
Code lines that did run4
Code lines that did not run18
Coverage (did run/can run)18.18 %
Function listing
time 
Calls 
 line
   1 
function relPath = mapSpecialCaseTopic(shortname, topicId)
< 0.001 
      1 
   2
    relPath = ""; 
< 0.001 
      1 
   3
    if shortname == "simulink" 
   4 
        switch topicId
   5 
            case "collection" 
   6 
                relPath = "index.html";
   7 
            case "sfunction" 
   8 
                relPath = "slref/sfunction.html";
   9 
            case "sfunctionbuilder"
  10 
                relPath = "slref/sfunctionbuilder.html";
  11 
            case "checkdiscretegradient"
  12 
                relPath = "slref/checkdiscretegradient.html";
  13 
            case "while"
  14 
                relPath = "slref/whileiterator.html";
  15 
            case "discretepulsegenerator"
  16 
                relPath = "slref/pulsegenerator.html";
  17 
            case "actionsubsystem"
  18 
                relPath = "slref/ifactionsubsystem.html";
  19 
            case "signalviewerscope"
  20 
                relPath = "slref/scope.html";
  21 
        end
< 0.001 
      1 
  22
    end 
< 0.001 
      1 
  23
end 

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