The definition for process_real_cpu_clock
† clearly identifies the member type duration
as being in nanoseconds.
(Note that this does not in itself guarantee nanosecond precision or accuracy, only nanosecond units.)
† You did not specify what version you are using, so I have assumed 1.55.0 for the link.