kierenj / 0x10c-DevKit

0x10c DevKit
http://0x10c-devkit.com/
39 stars 4 forks source link

add a cycle counter #196

Open kirinyaga opened 12 years ago

kirinyaga commented 12 years ago

Unless I missed it, I didn't see one. As I started to document the size & running time of each of my function (I'm writing a library), I found it easy to calculate the size through the assembly view, but had to calc by hand the number of cycles. It would also be much more precise than the generic timer if need ever arise.

Just a cool feature to add if you have time.