/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | TimeStats.cs | 42 TimeSpan lastUserTime; 43 TimeSpan lastPrivilegedTime; 73 public TimeSpan WallClockTime { get; } 74 public TimeSpan UserProcessorTime { get; } 75 public TimeSpan PrivilegedProcessorTime { get; } 77 …public Snapshot(TimeSpan wallClockTime, TimeSpan userProcessorTime, TimeSpan privilegedProcessorTi… in Snapshot()
|
D | InterarrivalTimers.cs | 97 private TimeSpan GetNextWaitDuration() in GetNextWaitDuration() 105 … this.lastEventTime = origLastEventTime + TimeSpan.FromSeconds(exponentialDistribution.Next()); in GetNextWaitDuration()
|
D | StressTestClient.cs | 109 finishedTokenSource.CancelAfter(TimeSpan.FromSeconds(options.TestDurationSecs)); in Run()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | DurationTest.cs | 43 Assert.AreEqual(TimeSpan.FromSeconds(1), new Duration { Seconds = 1 }.ToTimeSpan()); in ToTimeSpan() 44 Assert.AreEqual(TimeSpan.FromSeconds(-1), new Duration { Seconds = -1 }.ToTimeSpan()); in ToTimeSpan() 45 … Assert.AreEqual(TimeSpan.FromMilliseconds(1), new Duration { Nanos = 1000000 }.ToTimeSpan()); in ToTimeSpan() 46 … Assert.AreEqual(TimeSpan.FromMilliseconds(-1), new Duration { Nanos = -1000000 }.ToTimeSpan()); in ToTimeSpan() 47 Assert.AreEqual(TimeSpan.FromTicks(1), new Duration { Nanos = 100 }.ToTimeSpan()); in ToTimeSpan() 48 Assert.AreEqual(TimeSpan.FromTicks(-1), new Duration { Nanos = -100 }.ToTimeSpan()); in ToTimeSpan() 51 Assert.AreEqual(TimeSpan.FromTicks(2), new Duration { Nanos = 250 }.ToTimeSpan()); in ToTimeSpan() 52 Assert.AreEqual(TimeSpan.FromTicks(-2), new Duration { Nanos = -250 }.ToTimeSpan()); in ToTimeSpan() 95 … Assert.AreEqual(new Duration { Seconds = 1 }, Duration.FromTimeSpan(TimeSpan.FromSeconds(1))); in FromTimeSpan() 96 …ew Duration { Nanos = Duration.NanosecondsPerTick }, Duration.FromTimeSpan(TimeSpan.FromTicks(1))); in FromTimeSpan()
|
/external/perfetto/ui/src/frontend/ |
D | time_scale.ts | 15 import {TimeSpan} from '../common/time'; 25 private timeBounds: TimeSpan; 30 constructor(timeBounds: TimeSpan, boundsPx: [number, number]) { 57 setTimeBounds(timeBounds: TimeSpan) { 82 scale: TimeScale, span: TimeSpan, zoomFactor: number, zoomPx: number): 83 TimeSpan { 94 return new TimeSpan(newStartTime, newEndTime);
|
D | time_scale_unittest.ts | 15 import {TimeSpan} from '../common/time'; 20 const scale = new TimeScale(new TimeSpan(0, 100), [200, 1000]); 41 const scale = new TimeScale(new TimeSpan(0, 100), [100, 1000]); 49 scale.setTimeBounds(new TimeSpan(0, 200)); 56 const span = new TimeSpan(0, 20); 64 const span = new TimeSpan(1000, 1020); 72 const span = new TimeSpan(1000, 1040);
|
D | frontend_local_state.ts | 17 import {TimeSpan} from '../common/time'; 27 visibleWindowTime = new TimeSpan(0, 10); 41 updateVisibleTime(ts: TimeSpan) { 44 this.visibleWindowTime = new TimeSpan(startSec, endSec); 68 this.updateVisibleTime(new TimeSpan(visible.startSec, visible.endSec));
|
D | gridline_helper.ts | 15 import {TimeSpan} from '../common/time'; 69 export function gridlines(width: number, span: TimeSpan, timescale: TimeScale): 88 timeSpan: TimeSpan,
|
D | overview_timeline_panel.ts | 18 import {TimeSpan, timeToString} from '../common/time'; 31 private totTime = new TimeSpan(0, 0); 37 this.totTime = new TimeSpan( 124 const vizTime = new TimeSpan(tStart, tEnd);
|
D | time_selection_panel.ts | 18 import {TimeSpan} from '../common/time'; 102 this.renderSpan(ctx, size, new TimeSpan(start, end)); 106 renderSpan(ctx: CanvasRenderingContext2D, size: PanelSize, span: TimeSpan) {
|
D | logs_panel.ts | 26 import {TimeSpan} from '../common/time'; 98 const leftSpan = new TimeSpan(startTs, firstRowTs); 99 const rightSpan = new TimeSpan(lastRowTs, endTs);
|
D | viewer_page.ts | 20 import {TimeSpan} from '../common/time'; 227 frontendLocalState.updateVisibleTime(new TimeSpan(tStart, tEnd));
|
/external/perfetto/ui/src/common/ |
D | time.ts | 67 export class TimeSpan { class 78 return new TimeSpan(this.start, this.end); 81 equals(other: TimeSpan) { 93 add(sec: number): TimeSpan { 94 return new TimeSpan(this.start + sec, this.end + sec);
|
D | engine.ts | 16 import {TimeSpan} from './time'; 82 async getTraceTimeBounds(): Promise<TimeSpan> { 85 return new TimeSpan(res[0] / 1e9, res[1] / 1e9);
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | DurationPartial.cs | 85 public TimeSpan ToTimeSpan() in ToTimeSpan() 93 long ticks = Seconds * TimeSpan.TicksPerSecond + Nanos / NanosecondsPerTick; in ToTimeSpan() 94 return TimeSpan.FromTicks(ticks); in ToTimeSpan() 103 public static Duration FromTimeSpan(TimeSpan timeSpan) in FromTimeSpan() 108 long seconds = ticks / TimeSpan.TicksPerSecond; in FromTimeSpan() 109 int nanos = (int) (ticks % TimeSpan.TicksPerSecond) * NanosecondsPerTick; in FromTimeSpan()
|
D | TimestampPartial.cs | 137 return new DateTimeOffset(ToDateTime(), TimeSpan.Zero); in ToDateTimeOffset() 153 long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond; in FromDateTime() 154 … int nanoseconds = (int) (dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick; in FromDateTime()
|
D | TimeExtensions.cs | 75 public static Duration ToDuration(this TimeSpan timeSpan) in ToDuration()
|
/external/perfetto/ui/src/controller/ |
D | logs_controller.ts | 23 import {fromNs, TimeSpan} from '../common/time'; 29 engine: Engine, span: TimeSpan): Promise<LogBounds> { 64 engine: Engine, span: TimeSpan, pagination: Pagination): 148 private span: TimeSpan; 155 this.span = new TimeSpan(0, 10); 175 const newSpan = new TimeSpan(traceTime.startSec, traceTime.endSec);
|
D | trace_controller.ts | 27 import {TimeSpan} from '../common/time'; 512 private async loadTimelineOverview(traceTime: TimeSpan) {
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | TimeoutsTest.cs | 76 var clientDeadline = DateTime.UtcNow + TimeSpan.FromDays(7); in DeadlineTransferredToServer() 112 …ll(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.UtcNow.Add(TimeSpan.FromSeconds(5))))… in DeadlineExceededStatusOnTimeout() 132 …ll(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.UtcNow.Add(TimeSpan.FromSeconds(5))))… in ServerReceivesCancellationOnTimeout()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestFastLexer.cs | 65 TimeSpan Iterate( string text, int count ) in Iterate() 79 TimeSpan IterateFast( string text, int count ) in IterateFast()
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 174 UInt64 freq = TimeSpan.TicksPerSecond; in MyMultDiv64() 298 TimeSpan sp2 = DateTime.UtcNow - progressInfo.Time; in LzmaBenchmark() 315 TimeSpan sp = (DateTime.UtcNow - startTime); in LzmaBenchmark()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 187 TimeSpan timeSpan = dateTime - UnixEpoch; in FromDateTime()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | TimespecTest.cs | 41 TimeSpan difference = utcNow - timespec.ToDateTime(); in Now_AgreesWithUtcNow()
|