Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: How to implement function of "gettimeofday()" in SYSBIOS?

$
0
0

You might consider using Timestamp_get64().

It will return a 64 bit count of the number of CPU cycles since the system started up.

If you know the CPU clock frequency, you can convert this number into microseconds pretty easily.

Alan


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>