1

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

Sandeep
  • 18,356
  • 16
  • 68
  • 108

1 Answers1

2

Use clock_gettime(CLOCK_MONOTONIC).

CL.
  • 173,858
  • 17
  • 217
  • 259