19 #include "ros/duration.h" 25 int32_t nsec_part = nsec;
26 int32_t sec_part = sec;
28 while (nsec_part > 1000000000L)
30 nsec_part -= 1000000000L;
35 nsec_part += 1000000000L;
57 Duration& Duration::operator*=(
double scale){
ROSTIME_DECL void normalizeSecNSecSigned(int64_t &sec, int64_t &nsec)