(ts)
| 689 | |
| 690 | // Find RunTask end for a given timestamp |
| 691 | function getRunTaskEnd(ts) { |
| 692 | for (const rt of runTaskEvents) { |
| 693 | if (ts >= rt.ts && ts < rt.ts + rt.dur) { |
| 694 | return rt.ts + rt.dur; |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | return ts; // shouldn't happen |
| 699 | } |
| 700 | |
| 701 | // Sum up scripting time from non-idle samples in RunTask gaps |
| 702 | let profileCallScriptingUs = 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…