Searched defs:NanosecondsPerTick (Results 1 - 1 of 1) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DDurationPartial.cs50 public const int NanosecondsPerTick = 100; field in class:Google.Protobuf.WellKnownTypes.Duration
93 long ticks = Seconds * TimeSpan.TicksPerSecond + Nanos / NanosecondsPerTick;
109 int nanos = (int) (ticks % TimeSpan.TicksPerSecond) * NanosecondsPerTick;

Completed in 71 milliseconds