Searched refs:TicksPerSecond (Results 1 – 4 of 4) sorted by relevance
32 const long TicksPerSecond = NanosPerSecond / NanosPerTick; field148 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()
93 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()
153 long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond; in FromDateTime()154 … int nanoseconds = (int) (dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick; in FromDateTime()
174 UInt64 freq = TimeSpan.TicksPerSecond; in MyMultDiv64()