123456789101112131415161718192021 |
- import {CallTreeNode} from './callTreeNode';
- import {Frame} from './frame';
- export interface FlamegraphFrame {
- children: FlamegraphFrame[];
- depth: number;
- end: number;
- frame: Frame;
- key: number;
- node: CallTreeNode;
- parent: FlamegraphFrame | null;
- start: number;
- processId?: number;
- threadId?: number;
- }
- export function getFlamegraphFrameSearchId(frame: FlamegraphFrame) {
- return (
- frame.frame.name + (frame.frame.file ? frame.frame.file : '') + String(frame.start)
- );
- }
|