1 // operator- (const cl_timespec&, const cl_time_duration&)
7 #include "cln/timing.h"
14 const cl_timespec operator- (const cl_timespec& a, const cl_time_duration& b)
16 var uintL sec = a.tv_sec - b.tv_sec;
17 var sintL nsec = a.tv_nsec - b.tv_nsec;
22 return cl_timespec(sec,nsec);