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

Method getHighsProfilingRecord

highs/lp_data/HighsInterface.cpp:4371–4378  ·  view source on GitHub ↗

Gets the MIP or sub-MIP record according to record_type which, by default is kChooseRecord so this->submip is used

Source from the content-addressed store, hash-verified

4369// Gets the MIP or sub-MIP record according to record_type which, by
4370// default is kChooseRecord so this->submip is used
4371HighsProfilingRecord* HighsProfiling::getHighsProfilingRecord(
4372 const HighsInt record_type) {
4373 HighsInt thread = this->myThread();
4374 if (record_type == kSubMipRecord ||
4375 (record_type == kChooseRecord && this->submip[thread]))
4376 return &this->submip_record[thread];
4377 return &this->record[thread];
4378}
4379
4380void HighsProfiling::start(const HighsInt profiling_clock, const bool restart) {
4381 assert(profiling_clock >= 0);

Callers 6

startMethod · 0.95
stopMethod · 0.95
readMethod · 0.95
numCallMethod · 0.95
runningMethod · 0.95
returnFromSolveLpSimplexFunction · 0.80

Calls 1

myThreadMethod · 0.95

Tested by

no test coverage detected