D | op_level_cost_estimator_test.cc | 168 auto cost = PredictCosts(DescribeOp("Dummy", 1000, 1)); in TEST_F() local 169 EXPECT_EQ(Costs::Duration(2000), cost.memory_time); in TEST_F() 170 EXPECT_EQ(Costs::Duration(0), cost.compute_time); in TEST_F() 171 EXPECT_EQ(Costs::Duration(2000), cost.execution_time); in TEST_F() 172 EXPECT_TRUE(cost.inaccurate); in TEST_F() 177 auto cost = PredictCosts(DescribeOp("Dummy", 1000, 1)); in TEST_F() local 178 EXPECT_EQ(Costs::Duration(2000), cost.memory_time); in TEST_F() 179 EXPECT_EQ(Costs::Duration(0), cost.compute_time); in TEST_F() 180 EXPECT_EQ(Costs::Duration(2000), cost.execution_time); // max(2000, 200) in TEST_F() 181 EXPECT_TRUE(cost.inaccurate); in TEST_F() [all …]
|