CodeTools[Profiling]
IsProfiled
check if the specified procedure is profiled
Calling Sequence
Parameters
Description
Examples
IsProfiled(p)
p
-
procedure to check
The IsProfiled(p) command returns true if p is profiled and false otherwise.
a := proc(x) if (x > 1) then return 1; else return 0; end if; end proc:
with⁡CodeToolsProfiling:
IsProfiled⁡a
false
Profile⁡a
true
UnProfile⁡a
See Also
CodeTools[Profiling][Profile]
CodeTools[Profiling][UnProfile]
Download Help Document