Skip to content

Commit 0890b24

Browse files
committed
debug print
1 parent 61f27bb commit 0890b24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scheduler/SessionElement.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,12 @@ int SessionElement::calculate_inference_caused_latency(float max_possible_infere
328328
wait_time_left -= m_inference_config.m_max_inference_time;
329329
}
330330

331+
int counter = 0;
331332
while (inference_time_left >= host_buffer_time_int && std::ceil(host_buffer_size_int) > 0) {
332333
inference_caused_latency += host_buffer_size_int;
333334
inference_time_left -= host_buffer_time_int;
335+
counter++;
336+
std::cout << "counter: " << counter << ", inference_time_left: " << inference_time_left << ", host_buffer_time_int: " << host_buffer_time_int << std::endl;
334337
}
335338
}
336339

0 commit comments

Comments
 (0)