Home
last modified time | relevance | path

Searched refs:NanosecondsPerSecond (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDurationPartial.cs46 public const int NanosecondsPerSecond = 1000000000; field in Google.Protobuf.WellKnownTypes.Duration
62 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()
DTimestampPartial.cs46 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()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_tsc.h18 static constexpr uint64_t NanosecondsPerSecond = 1000ULL * 1000 * 1000; variable
76 return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec; in readTSC()
80 return NanosecondsPerSecond; in getTSCFrequency()
Dxray_basic_logging.cpp85 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()
Dxray_fdr_logging.cpp146 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()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs99 …uration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 }; in Arithmetic()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs99 …uration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 }; in Arithmetic()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs843 nanosToAdd = nanosToAdd - Duration.NanosecondsPerSecond; in MergeTimestamp()