AnsweredAssumed Answered

execution time in visual dsp++

Question asked by phani443 on Mar 4, 2014
Latest reply on Mar 4, 2014 by Jithul_Janardhanan

hi,

 

i've instantiated a function in the main function.(say func1()). in the func1() i have two other child functions func10() and func11(). now in the main function

main()

{

----------

----------

some declaration statements

----------

----------

clock_start=clock();

func1(argument1,argument2,....argument n);

clock_stop=clock();

};

 

does the difference between clock_stop and clock_start give me the total execution time of func1() (i.e including func10() and func11() because they are instantiated in func1()).

 

thanks and regards,

phani tej

Outcomes