Searched refs:NanosToPicos (Results 1 – 7 of 7) sorted by relevance
75 NanosToPicos(kTfOp1DurationNs * 2 + kTfOp2DurationNs); in TEST()77 uint64 total_duration = NanosToPicos(kTfOp2StartNs - kTfOp1StartNs + in TEST()86 EXPECT_EQ(NanosToPicos(kTfOp1DurationNs) * 2, op_1.time_ps()); in TEST()91 EXPECT_EQ(NanosToPicos(2000), idle.time_ps()); in TEST()97 EXPECT_EQ(NanosToPicos(kTfOp2DurationNs), op_2.time_ps()); in TEST()139 uint64 total_op_duration = NanosToPicos( in TEST()145 NanosToPicos(kKernel3StartNs + kKernel3DurationNs - kKernel1StartNs); in TEST()153 EXPECT_EQ(NanosToPicos(kKernel1DurationNs) * 2, op_1.time_ps()); in TEST()159 EXPECT_EQ(NanosToPicos(kKernel2DurationNs) * 2, op_2.time_ps()); in TEST()165 EXPECT_EQ(NanosToPicos(kKernel3DurationNs), op_3.time_ps()); in TEST()[all …]
180 void SetOffsetNs(int64 offset_ns) { SetOffsetPs(NanosToPicos(offset_ns)); } in SetOffsetNs()183 SetOffsetPs(NanosToPicos(timestamp_ns - line_->timestamp_ns())); in SetTimestampNs()194 SetDurationPs(NanosToPicos(duration_ns)); in SetDurationNs()202 SetDurationPs(NanosToPicos(end_timestamp_ns - line_->timestamp_ns()) - in SetEndTimestampNs()207 return Timespan(NanosToPicos(line_->timestamp_ns()) + event_->offset_ps(), in GetTimespan()
31 inline uint64 NanosToPicos(uint64 ns) { return ns * 1000; } in NanosToPicos() function
132 int64 offset_ps = NanosToPicos(line_->timestamp_ns() - timestamp_ns); in SetTimestampNsAndAdjustEventOffsets()
208 EXPECT_EQ(event.offset_ps(), NanosToPicos(offset_ns)); in CheckXEvent()209 EXPECT_EQ(event.duration_ps(), NanosToPicos(duration_ns)); in CheckXEvent()
169 return NanosToPicos(line_->timestamp_ns()) + event_->offset_ps(); in TimestampPs()
259 NanosToPicos(line.TimestampNs() - dst_line.TimestampNs()); in MergePlanes()