( rows: ReadonlyArray<ProcessDiagnostics.ProcessRow>, serverPid: number, )
| 69 | } |
| 70 | |
| 71 | function findServerRootRow( |
| 72 | rows: ReadonlyArray<ProcessDiagnostics.ProcessRow>, |
| 73 | serverPid: number, |
| 74 | ): ProcessDiagnostics.ProcessRow | null { |
| 75 | return rows.find((row) => row.pid === serverPid) ?? null; |
| 76 | } |
| 77 | |
| 78 | export function collectMonitoredSamples(input: { |
| 79 | readonly rows: ReadonlyArray<ProcessDiagnostics.ProcessRow>; |
no outgoing calls
no test coverage detected