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

Method numCall

highs/lp_data/HighsInterface.cpp:4452–4461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4450}
4451
4452HighsInt HighsProfiling::numCall(const HighsInt profiling_clock,
4453 const HighsInt record_type) {
4454 assert(profiling_clock >= 0);
4455 if (profiling_clock >= this->num_profiling_clock_) return -kHighsIInf;
4456 HighsProfilingRecord* thread_record =
4457 this->getHighsProfilingRecord(record_type);
4458 const HighsInt this_call_counts =
4459 this->running(profiling_clock, record_type) ? 1 : 0;
4460 return thread_record->num_call[profiling_clock] + this_call_counts;
4461}
4462
4463bool HighsProfiling::running(const HighsInt profiling_clock,
4464 const HighsInt record_type) {

Callers 1

solvingReportMethod · 0.45

Calls 2

runningMethod · 0.95

Tested by

no test coverage detected