/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | scheduler.cc | 77 Microseconds SlackAnalysis::ComputeAsap(std::vector<Microseconds>* asap_times) { in ComputeAsap() 91 Microseconds ctime = cost_model_->TimeEstimate(curr); in ComputeAsap() 94 Microseconds copy_time(0); in ComputeAsap() 105 Microseconds new_asap = (*asap_times)[curr->id()] + ctime + copy_time; in ComputeAsap() 119 Microseconds SlackAnalysis::ComputeAlap(std::vector<Microseconds>* alap_times) { in ComputeAlap() 150 Microseconds copy_time(0); in ComputeAlap() 160 Microseconds ctime = cost_model_->TimeEstimate(src); in ComputeAlap() 161 Microseconds new_latest = (*alap_times)[curr->id()] - ctime - copy_time; in ComputeAlap() 176 std::vector<Microseconds> asap_times; in ComputeSlack() 177 std::vector<Microseconds> alap_times; in ComputeSlack() [all …]
|
D | scheduler.h | 39 Microseconds ComputeAsap(std::vector<Microseconds>* asap_times); 43 Microseconds ComputeAlap(std::vector<Microseconds>* alap_times); 65 Microseconds time; 78 Microseconds ComputeSchedule(std::vector<Microseconds>* start_times); 102 Microseconds ComputeSchedule(std::vector<Microseconds>* start_times); 106 Microseconds AssignPriorities(std::vector<int64>* priorities);
|
D | master_session.h | 166 Microseconds start_micros = Microseconds(0); 167 Microseconds end_micros = Microseconds(0);
|
/external/tensorflow/tensorflow/core/graph/ |
D | costmodel.h | 111 void RecordTime(const Node* node, Microseconds time); 114 Microseconds TotalTime(const Node* node) const; 117 Microseconds TimeEstimate(const Node* node) const; 151 void RecordMaxExecutionTime(const Node* node, Microseconds time); 154 Microseconds MaxExecutionTime(const Node* node) const; 172 static Microseconds CopyTimeEstimate(Bytes b, double network_latency_millis, 174 static Microseconds ComputationTimeEstimate(int64 mathops); 207 std::vector<Microseconds> time_; 212 std::vector<Microseconds> max_exec_time_;
|
D | costmodel.cc | 30 const Microseconds kDefaultTimeEstimate(1); 31 const Microseconds kMinTimeEstimate(1); 211 void CostModel::RecordTime(const Node* node, Microseconds time) { in RecordTime() 219 Microseconds CostModel::TotalTime(const Node* node) const { in TotalTime() 223 time_[id] < Microseconds(0)) { in TotalTime() 224 return Microseconds(0); in TotalTime() 229 Microseconds CostModel::TimeEstimate(const Node* node) const { in TimeEstimate() 238 time_[n->id()] >= Microseconds(0)) in CheckInitialized() 336 void CostModel::RecordMaxExecutionTime(const Node* node, Microseconds time) { in RecordMaxExecutionTime() 343 Microseconds CostModel::MaxExecutionTime(const Node* node) const { in MaxExecutionTime() [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | abseil-duration-unnecessary-conversion.cpp | 21 d2 = absl::Microseconds(absl::ToDoubleMicroseconds(d1)); in f() 41 d2 = absl::Microseconds(absl::ToInt64Microseconds(d1)); in f() 60 d2 = absl::Microseconds(d1 / absl::Microseconds(1)); in f() 79 d2 = absl::Microseconds(absl::FDivDuration(d1, absl::Microseconds(1))); in f() 107 d2 = absl::Microseconds(absl::ToInt64Microseconds(d1) * 2); in f() 125 d2 = absl::Microseconds(2 * absl::ToInt64Microseconds(d1)); in f()
|
D | abseil-upgrade-duration-conversions.cpp | 252 (void)absl::Microseconds(ConvertibleTo<int64_t>()); in factoryFunctionPositive() 272 (void)absl::Microseconds(ConvertibleTo<char>()); in factoryFunctionPositive() 292 (void)absl::Microseconds(ConvertibleTo<float>()); in factoryFunctionPositive() 314 (void)absl::Microseconds(char{1}); in factoryFunctionNegative() 315 (void)absl::Microseconds(1); in factoryFunctionNegative() 316 (void)absl::Microseconds(int64_t{1}); in factoryFunctionNegative() 317 (void)absl::Microseconds(1.0f); in factoryFunctionNegative() 336 (void)absl::Microseconds(static_cast<int>(ConvertibleTo<int>())); in factoryFunctionNegative()
|
D | abseil-duration-factory-scale.cpp | 24 d = absl::Microseconds(0); in ScaleTest() 72 d = absl::Microseconds(5 * 1e6); in ScaleTest() 78 d = absl::Microseconds(5 * 1000000); in ScaleTest()
|
/external/angle/third_party/abseil-cpp/absl/time/ |
D | duration_test.cc | 88 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 98 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 145 TEST_DURATION_CONVERSION(Microseconds); in TEST() 163 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 218 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 283 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 369 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 383 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 389 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 621 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 335 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/abseil-cpp/absl/time/ |
D | duration_test.cc | 87 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 97 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 144 TEST_DURATION_CONVERSION(Microseconds); in TEST() 162 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 217 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 282 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 368 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 382 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 388 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 620 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 325 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | duration_test.cc | 87 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 97 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 144 TEST_DURATION_CONVERSION(Microseconds); in TEST() 162 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 217 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 282 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 368 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 382 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 388 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 620 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 335 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/time/ |
D | duration_test.cc | 87 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 97 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 144 TEST_DURATION_CONVERSION(Microseconds); in TEST() 162 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 217 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 282 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 368 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 382 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 388 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 620 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 325 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/time/ |
D | duration_test.cc | 87 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 97 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 144 TEST_DURATION_CONVERSION(Microseconds); in TEST() 162 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 217 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 282 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 368 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 382 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 388 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 620 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 335 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | duration_test.cc | 87 constexpr absl::Duration micro = absl::Microseconds(1); in TEST() 97 EXPECT_EQ(milli, absl::Microseconds(1000)); in TEST() 144 TEST_DURATION_CONVERSION(Microseconds); in TEST() 162 const absl::Duration micro = absl::Microseconds(N); in TestToConversion() 217 static_assert(absl::Microseconds(N) == absl::FromChrono(microseconds(N)), ""); in TestFromChronoBasicEquality() 282 EXPECT_EQ(microseconds(N), absl::ToChronoMicroseconds(absl::Microseconds(N))); in TestToChrono() 368 TEST_FACTORY_OVERLOADS(absl::Microseconds); in TEST() 382 EXPECT_EQ(absl::InfiniteDuration(), absl::Microseconds(dbl_inf)); in TEST() 388 EXPECT_EQ(-absl::InfiniteDuration(), absl::Microseconds(-dbl_inf)); in TEST() 620 EXPECT_EQ(absl::ZeroDuration(), sec_max % absl::Microseconds(1)); in TEST() [all …]
|
D | time_test.cc | 326 {absl::FromUnixSeconds(1) + absl::Microseconds(1), {1, 1}}, in TEST() 327 {absl::FromUnixSeconds(1) + absl::Microseconds(1) / 2, {1, 0}}, in TEST() 328 {absl::FromUnixSeconds(1) + absl::Microseconds(0), {1, 0}}, in TEST() 329 {absl::FromUnixSeconds(0) + absl::Microseconds(0), {0, 0}}, in TEST() 330 {absl::FromUnixSeconds(0) - absl::Microseconds(1) / 2, {-1, 999999}}, in TEST() 331 {absl::FromUnixSeconds(0) - absl::Microseconds(1), {-1, 999999}}, in TEST() 332 {absl::FromUnixSeconds(-1) + absl::Microseconds(1), {-1, 1}}, in TEST() 333 {absl::FromUnixSeconds(-1) + absl::Microseconds(1) / 2, {-1, 0}}, in TEST() 334 {absl::FromUnixSeconds(-1) + absl::Microseconds(0), {-1, 0}}, in TEST() 335 {absl::FromUnixSeconds(-1) - absl::Microseconds(1) / 2, {-2, 999999}}, in TEST() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | profile_handler.h | 57 virtual void StepDone(Microseconds start_time, Microseconds finish_time, 58 Microseconds cleanup_time, int total_runops,
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationRewriter.cpp | 58 InverseMap[DurationScale::Microseconds] = std::make_pair( in getDurationInverseForScale() 114 case DurationScale::Microseconds: in getDurationFactoryForScale() 132 case DurationScale::Microseconds: in getTimeFactoryForScale() 151 case DurationScale::Microseconds: in getTimeInverseForScale() 241 {"ToDoubleMicroseconds", DurationScale::Microseconds}, in getScaleForDurationInverse() 242 {"ToInt64Microseconds", DurationScale::Microseconds}, in getScaleForDurationInverse() 259 {"ToUnixMicros", DurationScale::Microseconds}, in getScaleForTimeInverse()
|
D | DurationFactoryScaleCheck.cpp | 28 .Case("Microseconds", DurationScale::Microseconds) in getScaleForFactory() 76 return std::make_tuple(DurationScale::Microseconds, Multiplier * 1e3); in GetNewScaleSingleStep() 79 case DurationScale::Microseconds: in GetNewScaleSingleStep() 88 return std::make_tuple(DurationScale::Microseconds, Multiplier / 1e3); in GetNewScaleSingleStep()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | timer.cc | 32 uint64 Timer::Microseconds() const { return implementation_->Microseconds(); } in Microseconds() function in stream_executor::Timer
|
/external/boringssl/src/util/ |
D | compare_benchmarks.go | 32 Microseconds int `json:"microseconds"` member 37 callsPerSecond := float64(r.NumCalls) / float64(r.Microseconds) * 1000000 56 …tions in %dus (%.1f %s)", result.NumCalls, result.Description, result.Microseconds, newSpeed, unit)
|