The TI simulator allows programs to read a cycle-accurate clock register. The following patch implements a clock function which uses this. Ok? Bernd -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: clock.diff URL: <http://sourceware.org/pipermail/newlib/attachments/20101117/32c59711/attachment.ksh>