Home
last modified time | relevance | path

Searched refs:TicksPerSecond (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs32 const long TicksPerSecond = NanosPerSecond / NanosPerTick; field
148 long ticksTotal = checked(tv_sec * TicksPerSecond + ticksFromNanos); in ToDateTime()
190 long seconds = ticks / TicksPerSecond; in FromDateTime()
191 int nanos = (int)((ticks % TicksPerSecond) * NanosPerTick); in FromDateTime()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDurationPartial.cs93 long ticks = Seconds * TimeSpan.TicksPerSecond + Nanos / NanosecondsPerTick; in ToTimeSpan()
108 long seconds = ticks / TimeSpan.TicksPerSecond; in FromTimeSpan()
109 int nanos = (int) (ticks % TimeSpan.TicksPerSecond) * NanosecondsPerTick; in FromTimeSpan()
DTimestampPartial.cs153 long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond; in FromDateTime()
154 … int nanoseconds = (int) (dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick; in FromDateTime()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs174 UInt64 freq = TimeSpan.TicksPerSecond; in MyMultDiv64()