| 4450 | } |
| 4451 | |
| 4452 | HighsInt 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 | |
| 4463 | bool HighsProfiling::running(const HighsInt profiling_clock, |
| 4464 | const HighsInt record_type) { |
no test coverage detected