获取主耗时

(函数来自 pyomo.contrib.pyros.util)

pyomo.contrib.pyros.util.get_main_elapsed_time(timing_data_obj)[source]

返回自进入主要time_code上下文以来的时间