Home
last modified time | relevance | path

Searched refs:optimal_seconds (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhuman_readable_profile_builder.cc45 if (op.optimal_seconds == 0 && op.cycles == 0) { in ToString()
90 op.optimal_seconds < 0 in ToString()
92 : StrFormat("(%12.1f optimal)", op.optimal_seconds * 1e6), in ToString()
107 if (op.optimal_seconds > 0) { in ToString()
115 std::min(double{op.optimal_seconds}, CyclesToSeconds(op.cycles)); in ToString()
154 if (op.optimal_seconds < 0) { in ToString()
170 0., CyclesToMicroseconds(op.cycles) - op.optimal_seconds * 1e6); in ToString()
187 if (op.cycles == 0 && op.optimal_seconds == 0) { in ToString()
Dhuman_readable_profile_builder.h51 float optimal_seconds) { in AddOp() argument
54 bytes_accessed, optimal_seconds}); in AddOp()
69 float optimal_seconds; // -1 if unknown member
Dhlo_profile_printer.cc63 instruction_info.optimal_seconds()); in PrintHloProfile()
Dhlo_cost_analysis.h151 float optimal_seconds() const;
166 float optimal_seconds(const HloInstruction& hlo) const;
Dhlo_cost_analysis.cc73 float optimal_seconds = 0.0f; in Postprocess() local
76 optimal_seconds = std::max( in Postprocess()
77 optimal_seconds, in Postprocess()
82 current_properties_[kOptimalSecondsKey] = optimal_seconds; in Postprocess()
1067 float HloCostAnalysis::optimal_seconds() const { in optimal_seconds() function in xla::HloCostAnalysis
1096 float HloCostAnalysis::optimal_seconds(const HloInstruction& hlo) const { in optimal_seconds() function in xla::HloCostAnalysis
Dhlo_profile_printer_data.proto35 float optimal_seconds = 7; field
Dhlo_execution_profile.cc108 cost_analysis.optimal_seconds(*hlo)); in CreateHloProfilePrinterData()
Dhlo_cost_analysis_test.cc653 EXPECT_EQ(fusion_analysis.optimal_seconds(), 1 << i); in TEST_F()