Searched refs:NanosecondsPerSecond (Results 1 – 8 of 8) sorted by relevance
46 public const int NanosecondsPerSecond = 1000000000; field in Google.Protobuf.WellKnownTypes.Duration62 internal const int MaxNanoseconds = NanosecondsPerSecond - 1;63 internal const int MinNanoseconds = -NanosecondsPerSecond + 1;167 int extraSeconds = nanoseconds / NanosecondsPerSecond; in Normalize()169 nanoseconds -= extraSeconds * NanosecondsPerSecond; in Normalize()175 nanoseconds -= NanosecondsPerSecond; in Normalize()180 nanoseconds += NanosecondsPerSecond; in Normalize()
46 internal const int MaxNanos = Duration.NanosecondsPerSecond - 1;175 int extraSeconds = nanoseconds / Duration.NanosecondsPerSecond; in Normalize()177 nanoseconds -= extraSeconds * Duration.NanosecondsPerSecond; in Normalize()181 nanoseconds += Duration.NanosecondsPerSecond; in Normalize()
18 static constexpr uint64_t NanosecondsPerSecond = 1000ULL * 1000 * 1000; variable76 return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec; in readTSC()80 return NanosecondsPerSecond; in getTSCFrequency()
85 static atomic_uint64_t CycleFrequency{NanosecondsPerSecond};315 return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec; in basicLoggingHandleArg0EmulateTSC()335 return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec; in basicLoggingHandleArg1EmulateTSC()390 : NanosecondsPerSecond, in basicLoggingInit()
146 static uint64_t CycleFrequency = NanosecondsPerSecond; in fdrCommonHeaderInfo()439 Result.TSC = TS.tv_sec * __xray::NanosecondsPerSecond + TS.tv_nsec; in getTimestamp()685 : __xray::NanosecondsPerSecond, in fdrLoggingInit()
99 …uration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 }; in Arithmetic()
843 nanosToAdd = nanosToAdd - Duration.NanosecondsPerSecond; in MergeTimestamp()