21 lines · yaml
1#RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -k | FileCheck %s2---3header:4 version: 15 type: 06 constant-tsc: true7 nonstop-tsc: true8 cycle-frequency: 09records:10# We want to test the case for when we see spurious exits without sibling call deduction, 11# but keep going anyway ignoring the records in the process.12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }13 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 }15 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10003 }16 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10004 }17...18#CHECK: Functions with latencies: 119#CHECK-NEXT: funcid count [ min, med, 90p, 99p, max] sum function20#CHECK-NEXT: 3 1 [ 1.{{.*}}, 1.{{.*}}, 1.{{.*}}, 1.{{.*}}, 1.{{.*}}] {{.*}} {{.*}}21