59 double delay_ms = ((double)diff.tv_sec * 1000.0) + ((double)diff.tv_nsec / 1000000.0);
70 double delay_us = ((double)diff.tv_sec * 1000000.0) + ((double)diff.tv_nsec / 1000.0);
77 return _end.tv_sec - _start.tv_sec;
84 snprintf(buf, 32,
"%4.2f", value);
85 stream << std::string(buf);
87 stream << std::setiosflags(std::ios::fixed) << std::setprecision(2) << value;
98 double delay_ms = (double)diff.tv_nsec / 1000000.0;
107 double seconds = (double)diff.tv_sec + (delay_ms / 1000.0);
109 if (diff.tv_sec >= 3600)
113 else if (diff.tv_sec >= 60)