Name

timespec_to_ktime — convert a timespec to ktime_t format

Synopsis

ktime_t timespec_to_ktime (const struct timespec  ts);

Arguments

ts

the timespec variable to convert

Description

Returns a ktime_t variable with the converted timespec value