Sandeep
Sandeep

Reputation: 19452

ktime_get() equivalent in user space

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()?

Upvotes: 1

Views: 2777

Answers (1)

CL.
CL.

Reputation: 180070

Use clock_gettime(CLOCK_MONOTONIC).

Upvotes: 2

Related Questions