libtonc: Timer

Tonclib

Timer

Functions

INLINE void profile_start (void)
 Start a profiling run.
INLINE uint profile_stop (void)
 Stop a profiling run and return the time since its start.

Detailed Description


Function Documentation

INLINE void profile_start ( void   ) 

Start a profiling run.

Note:
Routine uses timers 3 and 3; if you're already using these somewhere, chaos is going to ensue.

INLINE uint profile_stop ( void   ) 

Stop a profiling run and return the time since its start.

Returns:
32bit cycle count


Generated on Mon Aug 25 17:03:57 2008 for libtonc by  doxygen 1.5.3