CodeTools[Profiling][IsProfiled] - check if the specified procedure is profiled
|
Calling Sequence
|
|
IsProfiled(p)
|
|
Description
|
|
•
|
The IsProfiled(p) command returns true if p is profiled and false otherwise.
|
|
|
Examples
|
|
>
|
a := proc(x)
if (x > 1) then
return 1;
else
return 0;
end if;
end proc:
|
>
|
|
>
|
|
| (1) |
>
|
|
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
|
|