Lines Matching refs:tv_sec
27 #define LOG_TIME_SEC(t) ((t)->tv_sec)
37 uint32_t tv_sec = 0; /* good to Feb 5 2106 */
44 : tv_sec(static_cast<uint32_t>(T.tv_sec)), tv_nsec(static_cast<uint32_t>(T.tv_nsec)) {} in log_time()
46 : tv_sec(sec), tv_nsec(nsec) { in tv_sec() function
52 tv_sec = static_cast<uint32_t>(T.tv_sec); in log_time()
58 return (tv_sec == static_cast<uint32_t>(T.tv_sec)) &&
65 return (tv_sec < static_cast<uint32_t>(T.tv_sec)) ||
66 ((tv_sec == static_cast<uint32_t>(T.tv_sec)) &&
73 return (tv_sec > static_cast<uint32_t>(T.tv_sec)) ||
74 ((tv_sec == static_cast<uint32_t>(T.tv_sec)) &&
83 return (tv_sec == T.tv_sec) && (tv_nsec == T.tv_nsec);
89 return (tv_sec < T.tv_sec) ||
90 ((tv_sec == T.tv_sec) && (tv_nsec < T.tv_nsec));
96 return (tv_sec > T.tv_sec) ||
97 ((tv_sec == T.tv_sec) && (tv_nsec > T.tv_nsec));
110 --this->tv_sec;
115 this->tv_sec -= T.tv_sec;
127 ++this->tv_sec;
129 this->tv_sec += T.tv_sec;
139 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec; in nsec()
142 return static_cast<uint64_t>(tv_sec) * US_PER_SEC + in usec()
146 return static_cast<uint64_t>(tv_sec) * MS_PER_SEC + in msec()
158 uint32_t tv_sec; member