TimeSpec structure Seconds  Nanoseconds  Clock types. B A clock may be system-wide (that is, visible to all processes) A or per-process (measuring time that is meaningful only within A a process). All implementations shall support CLOCK_REALTIME. The identifier of the CPU-time clock associated with the calling OS thread. For this clock, the value returned by getTime represents the amount of execution time of the current OS thread. The identifier of the CPU-time clock associated with the calling process. For this clock, the value returned by getTime represents the amount of execution time of the current process. The identifier of the system-wide clock measuring real time. For this clock, the value returned by getTime represents the amount of time (in seconds and nanoseconds) since the Epoch. $The identifier for the system-wide monotonic clock, which is defined as a clock measuring real time, whose value cannot be set via clock_settime and which cannot have negative clock jumps. The maximum possible clock jump shall be implementation-defined. For this clock, the value returned by   represents the amount of time (in seconds and nanoseconds) since an unspecified point in the past (for example, system start-up time, or the Epoch). This point does not change after system start-up time. Note that the absolute value of the monotonic clock is meaningless (because its origin is arbitrary), and thus there is no need to set it. Furthermore, realtime applications can rely on the fact that the value of this clock is never set.  The  1 function shall return the current value for the  specified clock. The  4 function shall return the resolution of any clock. B Clock resolutions are implementation-defined and cannot be set  by a process.           clock-0.2.0.0System.Posix.ClockTimeSpecsecnsecClock ThreadCPUTimeProcessCPUTimeRealtime MonotonicgetTimegetRes ReaderFuncclock_readres_threadtimeclock_readres_processtimeclock_readres_realtimeclock_readres_monotonicclock_readtime_threadtimeclock_readtime_processtimeclock_readtime_realtimeclock_readtime_monotonictimerescall↑⋅≣→≣←⊠