brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · b0d6dcf Raw
45 lines · yaml
1#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml \2#RUN:    | FileCheck %s -check-prefix=EMPTY3#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e count \4#RUN:    | FileCheck %s -check-prefix=COUNT5#6#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e min \7#RUN:    | FileCheck %s -check-prefix=TIME8#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e med \9#RUN:    | FileCheck %s -check-prefix=TIME10#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 90p \11#RUN:    | FileCheck %s -check-prefix=TIME12#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 99p \13#RUN:    | FileCheck %s -check-prefix=TIME14#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e max \15#RUN:    | FileCheck %s -check-prefix=TIME16#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e sum \17#RUN:    | FileCheck %s -check-prefix=TIME18---19header:20  version: 121  type: 022  constant-tsc: true23  nonstop-tsc: true24  cycle-frequency: 260100000025records:26  - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }27  - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 }28...29 30 31#EMPTY:   digraph xray {32#EMPTY-NEXT:   F0 -> F1 [label=""];33#EMPTY-NEXT:   F1 [label="@(1)"];34#EMPTY-NEXT:   }35 36#COUNT:   digraph xray {37#COUNT-NEXT:   F0 -> F1 [label="1"];38#COUNT-NEXT:   F1 [label="@(1)"];39#COUNT-NEXT:   }40 41#TIME:   digraph xray {42#TIME-NEXT:   F0 -> F1 [label="3.8{{.*}}e-08"];43#TIME-NEXT:   F1 [label="@(1)"];44#TIME-NEXT:   }45