MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / measure_time_omp

Function measure_time_omp

check/TestHighsParallel.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170#if 0
171std::chrono::microseconds measure_time_omp(unsigned num_threads) {
172 auto beg = std::chrono::high_resolution_clock::now();
173 matrix_multiplication_omp(num_threads);
174 auto end = std::chrono::high_resolution_clock::now();
175 return std::chrono::duration_cast<std::chrono::microseconds>(end - beg);
176}
177#endif
178std::chrono::microseconds measure_time_highs(unsigned num_threads) {
179 auto beg = std::chrono::high_resolution_clock::now();

Callers 1

matrix_multiplicationFunction · 0.85

Calls 2

nowClass · 0.85

Tested by

no test coverage detected