ktime_get() equivalent in user space

2.6k views Asked by At

I want to map the time taken through ktime_get() at kernel space to something of the same unit from user space.

Is there any proc entry or any other source(at user level) which can be compared with ktime_get()?

1

There are 1 answers

0
CL. On BEST ANSWER

Use clock_gettime(CLOCK_MONOTONIC).