Searched refs:kNsPerS (Results 1 – 4 of 4) sorted by relevance
97 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local98 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()123 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); in TEST_F()124 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); in TEST_F()147 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local148 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()184 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); in TEST_F()185 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); in TEST_F()216 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local217 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()[all …]
140 constexpr uint64_t kNsPerS = 1000000000ULL; in init() local141 args.timestampNs = ntohl(ts.tv_nsec) + (ntohl(ts.tv_sec) * kNsPerS); in init()
25 constexpr uint64_t kNsPerS = kNsPerMs * 1000; variable
139 if (NanoTime() - start_ns > 2 * kNsPerS) { in ReadUntilClosed()