Home
last modified time | relevance | path

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

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs31 const long NanosPerTick = 100; field
32 const long TicksPerSecond = NanosPerSecond / NanosPerTick;
147 … long ticksFromNanos = tv_nsec / NanosPerTick + ((tv_nsec % NanosPerTick != 0) ? 1 : 0); in ToDateTime()
191 int nanos = (int)((ticks % TicksPerSecond) * NanosPerTick); in FromDateTime()