ARM Accredited Engineer EN0-001 Question # 57 Topic 6 Discussion

ARM Accredited Engineer EN0-001 Question # 57 Topic 6 Discussion

EN0-001 Exam Topic 6 Question 57 Discussion:
Question #: 57
Topic #: 6

When timing a critical function for an algorithm, using platform time functions such as get time of day (), the result is unpredictable; there is significant variance in the measured time between different runs of the benchmark. Which of the following strategies would improve the accuracy of the measurement?


A.

Time multiple executions of the algorithm and average the result


B.

Break the algorithm into smaller pieces and time them individually


C.

Run the code on a software model of the platform and collect the results on that system


D.

Add some code with a known overhead to the algorithm to make it run slower, and remove the overhead afterwards


Get Premium EN0-001 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.