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