nvme_set_features_timestamp(2) libnvme API manual nvme_set_features_timestamp(2)

nvme_set_features_timestamp - Set timestamp feature

int nvme_set_features_timestamp (int fd , bool save , __u64 timestamp );

File descriptor of nvme device
Save value across power states
The current timestamp value to assign to this feature

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_set_features_timestamp January 2025