Reputation: 41
I use syscall SYS_time, but its resolution is 1 second. Is there any other solution?
Upvotes: 4
Views: 171
Reputation: 84189
Try clock_gettime(3R) (same for Linux). I have to dig up the assembly version for the calls.
clock_gettime(3R)
Upvotes: 1