Home
last modified time | relevance | path

Searched +full:constant +full:- +full:tsc (Results 1 – 25 of 62) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-xray/X86/
Dconvert-roundtrip.yaml1 #RUN: llvm-xray convert %s -f=raw -o %t && llvm-xray convert %t -f=yaml -o - | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 2601000000
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 }
14 #CHECK: ---
15 #CHECK-NEXT: header:
16 #CHECK-NEXT: version: 1
[all …]
Dconvert-fdr-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-version-1.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 1
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 5678
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-enter, ts…
[all …]
Dconvert-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/naive-log-simple.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 2601000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-ente…
[all …]
Dstack-keep-going.yaml1 # RUN: not llvm-xray stack %s 2>&1 | FileCheck --check-prefix HALT %s
2 # RUN: llvm-xray stack -k %s 2>&1 | FileCheck --check-prefix KEEP-GOING-SUCCEEDS %s
3 # RUN: llvm-xray stack -k %s | FileCheck --check-prefix KEEP-GOING %s
4 ---
8 constant-tsc: true
9 nonstop-tsc: true
10 cycle-frequency: 2601000000
12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
13 - { type: 1, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10301 }
14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10401 }
[all …]
Dconvert-basic-log-version3-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/basic-log-version-3.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 3
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3900000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind…
[all …]
Dconvert-basic-log-arg1-version3-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/basic-log-arg1-version-3.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 3
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3900000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 0, thread: 2590, process: 2590, kind: …
[all …]
Dconvert-with-yaml-instrmap.txt1 ; RUN: llvm-xray convert -m %S/Inputs/simple-xray-instrmap.yaml %S/Inputs/naive-log-simple.xray -f=…
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 2601000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-ente…
[all …]
Dconvert-fdr-log-arg1-version3-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-arg1-version-3.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 3
6 ; CHECK-NEXT: type: 1
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3900000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 6, thread: 2631, process: 2631, kind: …
[all …]
Dconvert-fdr-log-version3-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-version-3.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 3
6 ; CHECK-NEXT: type: 1
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3900000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind…
[all …]
Dgraph-zero-latency-calls.yaml1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s
3 ---
7 constant-tsc: true
8 nonstop-tsc: true
9 cycle-frequency: 2601000000
11 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 }
13 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10002 }
14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 }
18 #CHECK-DAG: F0 -> F1 [{{.*}}];
[all …]
Dconvert-with-standalone-instrmap.txt1 ; RUN: llvm-xray convert -m %S/Inputs/elf64-objcopied-instrmap.bin -y %S/Inputs/naive-log-simple.xr…
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 2601000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '@(41caa0)', cpu: 37, thread: 84697, kind: funct…
[all …]
Dconvert-with-debug-syms.txt1 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin -y %S/Inputs/naive-log-simple.xray -f=yam…
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 2601000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-ent…
[all …]
Daccount-keep-going.yaml1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -k | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 0
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 }
[all …]
Dconvert-basic-arg1-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/naive-with-arg1-entries.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 2
6 ; CHECK-NEXT: type: 0
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3500000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-enter…
[all …]
Dstack-simple-case.yaml1 #RUN: llvm-xray stack %s | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 2601000000
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 }
Daccount-deduce-tail-call.yaml1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -d | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 0
17 # tail-called f3(). We make sure that if we see a trace like this that we can
23 # with a flag "-d" or "-deduce-sibling-calls".
25 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
26 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
27 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 }
[all …]
Dconvert-fdr-arg1-to-yaml.txt1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-arg1.xray -f=yaml -o - | FileCheck %s
3 ; CHECK: ---
4 ; CHECK-NEXT: header:
5 ; CHECK-NEXT: version: 1
6 ; CHECK-NEXT: type: 1
7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
9 ; CHECK-NEXT: cycle-frequency: 3500000000
10 ; CHECK-NEXT: records:
11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', args: [ 1 ], cpu: 49, thread: 14648, kind: …
[all …]
Daccount-simple-case.yaml1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 2601000000
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 }
15 #CHECK-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
16 #CHECK-NEXT: 1 1 [ {{.*}}, {{.*}}, {{.*}}, {{.*}}, {{.*}}] {{.*}} {{.*}}
Dgraph-color-simple-case.yaml1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e sum -c sum \
2 #RUN: | FileCheck %s -check-prefix=EDGE
3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -v sum -b sum \
4 #RUN: | FileCheck %s -check-prefix=VERTEX
5 ---
9 constant-tsc: true
10 nonstop-tsc: true
11 cycle-frequency: 1
13 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 }
[all …]
Dstack-multithread.yaml1 #RUN: llvm-xray stack -per-thread-stacks %s | FileCheck %s --check-prefix PER-THREAD
2 #RUN: llvm-xray stack -aggregate-threads %s | FileCheck %s --check-prefix AGGREGATE
4 ---
8 constant-tsc: true
9 nonstop-tsc: true
10 cycle-frequency: 2601000000
12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
13 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
14 - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10101 }
15 - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10301 }
[all …]
Dgraph-deduce-tail-call.yaml1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d \
2 #RUN: | FileCheck %s -check-prefix=EMPTY
3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e count \
4 #RUN: | FileCheck %s -check-prefix=COUNT
6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e min \
7 #RUN: | FileCheck %s -check-prefix=TIME
8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e med \
9 #RUN: | FileCheck %s -check-prefix=TIME
10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e 90p \
11 #RUN: | FileCheck %s -check-prefix=TIME
[all …]
Dgraph-simple-case.yaml1 #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
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-xray/X86/Inputs/
Dgraph-diff-B.yaml1 ---
5 constant-tsc: true
6 nonstop-tsc: true
7 cycle-frequency: 1
9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10090 }
11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10180 }
13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 }
14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10270 }
[all …]
Dgraph-diff-A.yaml1 ---
5 constant-tsc: true
6 nonstop-tsc: true
7 cycle-frequency: 1
9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 }
11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10120 }
13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 }
14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10230 }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/XRay/
DXRayRecord.h1 //===- XRayRecord.h - XRay Trace Record -----------------------------------===//
8 //===----------------------------------------------------------------------===//
11 // follow the evolution of the log record versions supported in the compiler-rt
14 //===----------------------------------------------------------------------===//
24 /// XRay traces all have a header providing some top-matter information useful
35 /// Whether the CPU that produced the timestamp counters (TSC) move at a
36 /// constant rate.
39 /// Whether the CPU that produced the timestamp counters (TSC) do not stop.
43 /// counter (TSC) values. Useful for estimating the amount of time that
72 /// Get the full 8 bytes of the TSC when we get the log record.
[all …]

123