This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

# cycles for log_info()

Other Parts Discussed in Thread: SYSBIOS

The project I’m working on has some very time sensitive components.  Because of this I thought the low overhead log_info0() function would be perfect.  From what I heard, the overhead for this should be around 40 cycles.  But when I put this in practice I’m seeing it take 3793 cycles (25 uS in my 150 MHz system).

Have a look at the code snippet below followed by the Raw Log.  The time between the first two Log_info0() commands is 3793 cycles (82581236-82577443).  What’s interesting is that it make no difference how long the string is.  I thought this might be an issue so I change the first command to log “S* and the second to log “S1”, but I got exactly the same time difference.

Could there be something with my emulator that’s slowing me down?  I’m using a XDS510 USB on an eZdsp F28335 board.

Ed