Question: Dr.J is planning to use his software delay routine in a while(1) loop as shown below. But he is concerned as to how long the
Dr.J is planning to use his software delay routine in a while(1) loop as shown below. But he is concerned as to how long the code block preceding the delay routine will take to execute. Provide two different forms of instrumentation that he can use to estimate the computation time.
While1
{
[]//block of C statements
sw_delay(loop_delay);
}end while(1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
