You can use those CIA timers to count down from a supplied time value - I used those for accurate wait times in my trackloader - so, as you suggested previously you could just do something like:
supply a start value and set the timer running
execute your code
read the value left in the timer counter
and the difference between the start value and time left would then be how long the code took to run.
There'll be a maximum start value you can supply (can't remember it off the top off my head...) so I suppose that's what Photon was getting at when he said "not too long code runs"
What's the purpose of accurately timing out your code like this Lonewolf10...? Are you just experimenting...? I'm just curious.