CodeTools[Profiling] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Profiling : CodeTools[Profiling] : CodeTools/Profiling/IsProfiled

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:

withCodeTools[Profiling]:

IsProfileda

false

(1)

Profilea

IsProfileda

true

(2)

UnProfilea

IsProfileda

false

(3)

See Also

CodeTools[Profiling]

CodeTools[Profiling][Profile]

CodeTools[Profiling][UnProfile]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam