Method

GpiodglibEdgeEventget_timestamp_ns

Declaration

guint64
gpiodglib_edge_event_get_timestamp_ns (
  GpiodglibEdgeEvent* self
)

Description

Get the timestamp of the event.

The source clock for the timestamp depends on the event_clock setting for the line.

Return value

Type: guint64

Timestamp in nanoseconds.