1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml \
2 #RUN: | FileCheck %s -check-prefix=EMPTY
3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e count \
4 #RUN: | FileCheck %s -check-prefix=COUNT
6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e min \
7 #RUN: | FileCheck %s -check-prefix=TIME
8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e med \
9 #RUN: | FileCheck %s -check-prefix=TIME
10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 90p \
11 #RUN: | FileCheck %s -check-prefix=TIME
12 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 99p \
13 #RUN: | FileCheck %s -check-prefix=TIME
14 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e max \
15 #RUN: | FileCheck %s -check-prefix=TIME
16 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e sum \
17 #RUN: | FileCheck %s -check-prefix=TIME
24 cycle-frequency: 2601000000
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 }
31 #EMPTY: digraph xray {
32 #EMPTY-NEXT: F0 -> F1 [label=""];
33 #EMPTY-NEXT: F1 [label="@(1)"];
36 #COUNT: digraph xray {
37 #COUNT-NEXT: F0 -> F1 [label="1"];
38 #COUNT-NEXT: F1 [label="@(1)"];
42 #TIME-NEXT: F0 -> F1 [label="3.8{{.*}}e-08"];
43 #TIME-NEXT: F1 [label="@(1)"];