Accuracy of Delays:
Characteristics Report

Applies to: GCC-1750 Version 1.0.
Last updated: Friday May 03, 2002.

SUMMARY

We measured the accuracy of delay statements using the GCC-1750 simulator and then again on the MAS281 target computer. The test program began by measuring the actual delay for a requested delay of one second, then measured smaller delays down to 100 microseconds, using as many iterations as necessary to achieve a total delay time of about two seconds per test case.

The following figure shows the measured delay for each of several calls of nanosleep. The graph clearly slows the lower limit of 1/100 second, which is the interrupt period of our real time clock (timer A).

delays.gif (11024 bytes)

 
Updated May 11, 2005
Copyright XGC Software