Hello Everyone,
Is there a better way or a more accurate of analyzing the amount of time a function takes to execute.Currently i am doing it like this.
start_timer();
display_lcd_data(); //function which is to be analyzed.
stop_timer();
read_timer_value();
My program had a few regular ISRs(interrupt service routines) so i need to know that the given function should finish its execution before the next ISR comes in.
Thanks,
AK
Is there a better way or a more accurate of analyzing the amount of time a function takes to execute.Currently i am doing it like this.
start_timer();
display_lcd_data(); //function which is to be analyzed.
stop_timer();
read_timer_value();
My program had a few regular ISRs(interrupt service routines) so i need to know that the given function should finish its execution before the next ISR comes in.
Thanks,
AK