IsProfiled - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


CodeTools[Profiling]

  

IsProfiled

  

check if the specified procedure is profiled

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsProfiled(p)

Parameters

p

-

procedure to check

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:

withCodeToolsProfiling:

IsProfileda

false

(1)

Profilea

IsProfileda

true

(2)

UnProfilea

IsProfileda

false

(3)

See Also

CodeTools[Profiling]

CodeTools[Profiling][Profile]

CodeTools[Profiling][UnProfile]