32 bit Linux kernel in Android system: need 64 bit timestamp in microseconds -


I have 32 bit systems which need to get timestamp value in 64 bits in Microsoft Linux on the Android system

Does its direct kernel export function calls to get it?

I saw jiffies for 64 bit and have functions which convert 64 bit Jeff into nanoseconds.

Div Class = "post-text" itemprop = "text">

The kernel timestamps are in nanoseconds. You can get getnstimeofday () , ktime_get_ns () , or getrawmonotonic () to get a struct timespec , or ktime_get_real () or ktime_get () a < Code> ktime_t to get; The latter is ktime_to_ns () . With 64-bit nanosecond counters can be converted.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -