Timing Functionality on MPC555

"Eric" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi everyone,

It seems like this should be fairly easy, but I'm having a hard time
finding the right functionality.

I want to measure how long certain functions are taking in my code, so
I want a way to track time rather accurately (precision on the order
of micro-seconds, hopefully).  I was wondering what I should be using
just to get two values - a starting time, and an ending time.  I was
hoping to read directly from the real-time clock, but that seems to
give garbage as output.

Anyone know what I should be looking at?

Thanks,

-Eric Castle





-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.