xref: /llvm-project/llvm/test/tools/llvm-xray/X86/account-simple-case.yaml (revision 9afed0377e2e64d433bb38c208995d7b4cb02e02)
1#RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s
2---
3header:
4  version: 1
5  type: 0
6  constant-tsc: true
7  nonstop-tsc: true
8  cycle-frequency: 2601000000
9records:
10  - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
11  - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 }
12...
13
14#CHECK:       Functions with latencies: 1
15#CHECK-NEXT:  funcid  count  [ min, med, 90p, 99p, max] sum function
16#CHECK-NEXT:  1 1 [ {{.*}}, {{.*}}, {{.*}}, {{.*}}, {{.*}}] {{.*}} {{.*}}
17