29 references to Ticks
System.ServiceModel.Primitives (29)
Internals\System\Runtime\IOThreadTimer.cs (10)
60
maxSkew =
Ticks
.FromMilliseconds(maxSkewInMilliseconds);
74
SetAt(
Ticks
.Add(
Ticks
.Now,
Ticks
.FromTimeSpan(timeFromNow)));
80
SetAt(
Ticks
.Add(
Ticks
.Now,
Ticks
.FromMilliseconds(millisecondsFromNow)));
210
long now =
Ticks
.Now;
216
timerGroup.WaitableTimer.Set(
Ticks
.Add(now, maxTimeToWaitForMoreTimers));
253
long now =
Ticks
.Now;
Internals\System\Runtime\TimeoutHelper.cs (8)
90
long ticks =
Ticks
.FromTimeSpan(timeout);
95
return
Ticks
.ToMilliseconds(ticks);
113
return
Ticks
.ToTimeSpan(
Ticks
.Add(
Ticks
.FromTimeSpan(timeout1),
Ticks
.FromTimeSpan(timeout2)));
141
return
Ticks
.ToTimeSpan((
Ticks
.FromTimeSpan(timeout) / factor) + 1);
System\ServiceModel\Channels\ChannelReliableSession.cs (4)
640
return
Ticks
.ToTimeSpan(
Ticks
.FromTimeSpan(Settings.InactivityTimeout) / 2);
650
TimeSpan fastPollingInterval =
Ticks
.ToTimeSpan(
Ticks
.FromTimeSpan(_binder.DefaultSendTimeout) / 2);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
1664
return
Ticks
.ToTimeSpan(
Ticks
.FromTimeSpan(inactivityTimeout) / 2 / maxRetryCount);
System\ServiceModel\Channels\ServiceChannel.cs (4)
2410
_idleTicks =
Ticks
.FromTimeSpan(idle);
2448
Interlocked.Exchange(ref _lastActivity,
Ticks
.Now);
2483
long ticksNow =
Ticks
.Now;
2511
_timer.Change(
Ticks
.ToTimeSpan(abortTime - ticksNow), Timeout.InfiniteTimeSpan);
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
123
return (
Ticks
.Now / TimeSpan.TicksPerMillisecond) << Constants.TimeMultiplier;