Home
last modified time | relevance | path

Searched refs:num_active_requests (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Drun_handler_util_test.cc25 void VerifyFunction(int num_active_requests, int num_threads, in VerifyFunction() argument
28 LOG(INFO) << "Test case# num_active_requests: " << num_active_requests in VerifyFunction()
32 std::vector<std::uint_fast32_t> start(num_active_requests); in VerifyFunction()
33 std::vector<std::uint_fast32_t> end(num_active_requests); in VerifyFunction()
35 ComputeInterOpSchedulingRanges(num_active_requests, num_threads, in VerifyFunction()
38 for (int i = 0; i < num_active_requests; ++i) { in VerifyFunction()
55 float entry_weight = num_active_requests - i; in VerifyFunction()
56 float total_weight = 0.5f * num_active_requests * (num_active_requests + 1); in VerifyFunction()
66 ASSERT_EQ(end[num_active_requests - 1], num_threads); in VerifyFunction()
81 for (int num_active_requests = 1; num_active_requests <= kMaxActiveRequests; in TEST() local
[all …]
Drun_handler_util.cc24 void ComputeInterOpSchedulingRanges(int num_active_requests, int num_threads, in ComputeInterOpSchedulingRanges() argument
30 float total_weight = 0.5f * num_active_requests * (num_active_requests + 1); in ComputeInterOpSchedulingRanges()
34 for (int i = 0; i != num_active_requests; i++) { in ComputeInterOpSchedulingRanges()
37 (num_active_requests - static_cast<float>(i) * 0.5f); in ComputeInterOpSchedulingRanges()
Drun_handler.cc204 int num_active_requests = sorted_active_handlers_.size(); in RecomputePoolStatsLocked() local
205 if (num_active_requests == 0) return; in RecomputePoolStatsLocked()
209 inter_op_start_.resize(num_active_requests); in RecomputePoolStatsLocked()
210 inter_op_limit_.resize(num_active_requests); in RecomputePoolStatsLocked()
213 ComputeInterOpSchedulingRanges(num_active_requests, num_threads, in RecomputePoolStatsLocked()
217 for (int i = 0; i < num_active_requests; ++i) { in RecomputePoolStatsLocked()
224 VLOG(1) << "Active session runs: " << num_active_requests; in RecomputePoolStatsLocked()
228 for (int i = 0; i < num_active_requests; ++i) { in RecomputePoolStatsLocked()
Drun_handler_util.h37 void ComputeInterOpSchedulingRanges(int num_active_requests, int num_threads,