(func)
| 177 | host_end_func = TimeFuncHelper.eval_time_func("host", "end", np.max) |
| 178 | |
| 179 | def get_tot_time(func): |
| 180 | rec = analyzer_tot.select(func, aggregate=np.sum) |
| 181 | if not rec: |
| 182 | return "N/A" |
| 183 | rec = rec[0] |
| 184 | return rec.time |
| 185 | |
| 186 | tab = [] |
| 187 | tot_dev_time = get_tot_time(device_end_func) |