I am working on a project about time measurement on Lego Mindstorms Ev3. Lego used the AM1808 Chip.
On the Mindstorms is running a modified Linux OS (Ev3dev).
I want to measure some C code instructions and need time stamp before and after some instruction with minimal overhead.
I need a C code instruction or inline assembly to take the timestamp.