iio_get_time_ns(9)
πΈ NAME πΈ
okay so we are in the Kernel API Manual, and this page is all about iio_get_time_ns(9), bestie. It is the utility function to get a time stamp for events etc β no cap, that is literally its whole job. π°οΈβ¨
π¦ SYNOPSIS π¦
s64 iio_get_time_ns (const struct iio_dev *indio_dev );
π ARGUMENTS π
indio_devβ the device. That is it. That is the whole argument, and she is iconic for keeping it simple. π
π RETURN π
It hands you back the Timestamp of the event in nanoseconds. β±οΈβ¨
π SEE ALSO π
The kernel file ./drivers/iio/industrialio-core.c is the main-character location for this whole situation, and these related pages are all part of the friend group: π«Ά
iio_device_id(9)iio_buffer_enabled(9)iio_find_channel_from_si(9)iio_device_set_clock(9)iio_device_get_clock(9)iio_read_mount_matrix(9)iio_format_value(9)__iio_str_to_fixpoint(9)iio_str_to_fixpoint(9)iio_free_chan_devattr_list(9)iio_device_alloc(9)iio_device_free(9)devm_iio_device_alloc(9)iio_chrdev_open(9)iio_chrdev_release(9)iio_active_scan_mask_index(9)iio_device_unregister(9)__iio_dev_mode_lock(9)__iio_dev_mode_unlock(9)iio_device_get_current_mode(9)
later, bestie β this page came from ./drivers/iio and is dated October 2026 π«Άππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms