Home
last modified time | relevance | path

Searched +full:cycle +full:- +full:frequency (Results 1 – 25 of 64) sorted by relevance

123

/llvm-project/llvm/test/CodeGen/AMDGPU/
H A Dllc-pipeline.ll2 ; RUN: llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
3 ; RUN: | FileCheck -match-ful
[all...]
/llvm-project/third-party/benchmark/src/
H A Dcycleclock.h1 // ----------------------------------------------------------------------
4 // is actually time since power-on. This is like time() but doesn't
19 // ----------------------------------------------------------------------
59 // https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h
61 // This should return the number of cycles since power-on. Thread-safe.
67 // InitializeSystemInfo() sets the supposed cpu clock frequency of in Now()
69 // CPU clock frequency (which can change in the face of CPU in Now()
70 // frequency scaling). Also note that when the Mac sleeps, this in Now()
75 // this goes above x86-specific code because old versions of Emscripten in Now()
87 // This returns a time-base, which is not always precisely a cycle-count. in Now()
[all …]
/llvm-project/libc/benchmarks/
H A DRATIONALE.md1 # Benchmarking `llvm-libc`'s memory functions
9 - **code size** (to reduce instruction cache pressure),
10 - **Profile Guided Optimization** friendliness,
11 - **hyperthreading / multithreading** friendliness.
23 5. **Cost-effectiveness**: Benchmark tests are economical.
31 peculiarities of designing good microbenchmarks for `llvm-libc` memory
36 As seen in the [README.md](README.md#stochastic-mode) the microbenchmarking
39 accurately down to the cycle**.
44 - [Performance
47 - [High Precision Event
[all …]
H A DREADME.md6- `libc.src.string.<mem_function>_benchmark` to run the benchmarks for the particular `<mem_functi…
7 - `libc-benchmark-analysis.py3` a tool to process the measurements into reports.
14 cd llvm-project
15 cmake -B/tmp/build -Sllvm -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libc' -DCMAKE_BUILD_TYPE=…
16 ninja -C /tmp/build libc.src.string.<mem_function>_benchmark
21 cpupower frequency-set --governor performance
27- **stochastic mode** returns the average time per call for a particular size distribution, this i…
28 - **sweep mode** returns the average time per size over a range of sizes.
30--study-name` to be set, this is a name to identify a run and provide label during analysis. If *…
33- `--num-trials`: repeats the benchmark more times, the analysis tool can take this into account a…
[all …]
/llvm-project/llvm/test/tools/llvm-xray/X86/
H A 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 …]
H A 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…
2 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin -y %S/Inputs/naive-log-simple.xray -f yam…
4 ; CHECK: ---
5 ; CHECK-NEXT: header:
6 ; CHECK-NEXT: version: 1
7 ; CHECK-NEXT: type: 0
8 ; CHECK-NEXT: constant-tsc: true
9 ; CHECK-NEXT: nonstop-tsc: true
10 ; CHECK-NEXT: cycle-frequency: 2601000000
11 ; CHECK-NEXT: records:
[all …]
H A Dstack-empty-case.yaml1 # RUN: not llvm-xray stack %s 2>&1 | FileCheck %s
2 ---
6 constant-tsc: true
7 nonstop-tsc: true
8 cycle-frequency: 2601000000
11 # CHECK: llvm-xray: No instrumented calls were accounted in the input file.
12 # CHECK-NOT: {{[0-9A-Z]+}}
H A 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 }
H A 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 …]
H A 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 [ {{.*}}, {{.*}}, {{.*}}, {{.*}}, {{.*}}] {{.*}} {{.*}}
H A 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 …]
H A Dconvert-traceevent-special-events.txt1 # RUN: llvm-xray convert %s -f trace_event -o - \
2 # RUN: | %python -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_k…
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, function: 'x', cpu: 1, thread: 111, process: 111, kind: custom-event, tsc…
14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 }
20 # CHECK-NEXT: "ph":
[all …]
H A 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 …]
H A Daccount-empty-stack-error.yaml
H A Daccount-keep-going.yaml1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -k | FileCheck %s
2 ---
6 constant-ts
[all...]
H A 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 …]
H A 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 …]
/llvm-project/llvm/lib/XRay/
H A DFileHeaderReader.cpp1 //===- FileHeaderReader.cpp - XRay File Header Reader --------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 // FIXME: Maybe deduce whether the data is little or big-endian using some in readBinaryFormatHeader()
25 // (8) uint64 : cycle frequency in readBinaryFormatHeader()
26 // (16) - : padding in readBinaryFormatHeader()
59 "Failed reading cycle frequency from file header at offset %" PRId64 in readBinaryFormatHeader()
/llvm-project/llvm/test/CodeGen/M68k/
H A Dpipeline.ll1 ; RUN: llc -mtriple=m68k -debug-pass=Structure < %s -o /dev/null 2>&1 | grep -v "Verify generated machine code" | FileCheck %s
3 ; CHECK-NEXT: Pre-ISel Intrinsic Lowering
4 ; CHECK-NEXT: FunctionPass Manager
5 ; CHECK-NEXT: Expand large div/rem
6 ; CHECK-NEX
[all...]
/llvm-project/llvm/test/CodeGen/ARM/
H A DO3-pipeline.ll1 ; RUN: llc -mtriple=arm -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 | grep -v "Verify generated machine code" | FileCheck %s
6 ; CHECK-NEXT: Pre-ISel Intrinsic Lowering
7 ; CHECK-NEXT: FunctionPass Manager
8 ; CHECK-NEX
[all...]
/llvm-project/llvm/test/CodeGen/RISCV/
H A DO3-pipeline.ll1 ; RUN: llc -mtriple=riscv32 -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 | \
2 ; RUN: grep -v "Verify generated machine code" | \
3 ; RUN: FileCheck %s --check-prefixes=CHECK
4 ; RUN: llc -mtripl
[all...]
/llvm-project/llvm/test/CodeGen/PowerPC/
H A DO3-pipeline.ll1 ; RUN: llc --debugify-and-strip-all-safe=0 -mtriple=powerpc64-- -O
[all...]
/llvm-project/llvm/test/CodeGen/LoongArch/
H A Dopt-pipeline.ll2 ;; pass. Ignore it with 'grep -v'.
3 ; RUN: llc --mtriple=loongarch32 -mattr=+d -O1 --debug-pass=Structure %s -o /dev/null 2>&1 | \
4 ; RUN: grep -
[all...]
/llvm-project/llvm/test/CodeGen/AArch64/
H A DO3-pipeline.ll1 ; RUN: llc --debugify-and-strip-all-safe=0 -mtriple=arm64-- -O
[all...]
/llvm-project/llvm/test/CodeGen/X86/
H A Dopt-pipeline.ll2 ; pass. Ignore it with 'grep -v'.
3 ; RUN: llc -mtriple=x86_64-- -O1 -debug-pass=Structure < %s -o /dev/null 2>&1 \
4 ; RUN: | grep -v 'Verify generated machine code' | FileCheck %s
5 ; RUN: llc -mtripl
[all...]

123