Describe Timers

Timers: While time values usually cannot be reduced in the target system, their usage can be encapsulated as an abstraction which can be replaced easily (e.g., by a non-deterministic choice) during model checking.

The following code shows two typical operations involving time implemented in C/C++: calculating a time delta between two execution points, and logging the current time at a specific point in the execution:

881_timers.jpg

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.