programmer
programmer

Reputation: 41

How to get high resolution time using sparc assembly?

I use syscall SYS_time, but its resolution is 1 second. Is there any other solution?

Upvotes: 4

Views: 171

Answers (1)

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84189

Try clock_gettime(3R) (same for Linux). I have to dig up the assembly version for the calls.

Upvotes: 1

Related Questions