Last active
August 28, 2019 03:19
-
-
Save hkoba/f9e02d13b33e99be7b752cbb94c46e12 to your computer and use it in GitHub Desktop.
perf result of ko1's nop test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.out | |
nop.rb | |
t.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command: 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8388608 16777216 33554432 67108864 134217728 268435456 536870912 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# See: https://gist.github.com/ko1/143d6f84916adea907a4455fd7658a88 | |
emulate -L zsh | |
setopt PIPE_FAIL | |
zparseopts -D T=o_tsv r:=o_repeat | |
#---------------------------------------- | |
if (($#o_tsv)); then | |
opts=(-x $'\t') | |
ext=tsv | |
else | |
opts=() | |
ext=out | |
fi | |
#---------------------------------------- | |
perf=( | |
-e instructions | |
-e cycles | |
-e L1-icache-load-misses | |
-e icache_16b.ifdata_stall | |
-e icache_64b.iftag_hit | |
-e icache_64b.iftag_miss | |
-e icache_64b.iftag_stall | |
-e frontend_retired.l1i_miss | |
-e frontend_retired.l2_miss | |
) | |
#---------------------------------------- | |
print command: $argv |& tee command.out | |
LANG=C gcc -v | tee gcc-version.out | |
if (($+commands[lscpu])); then | |
LANG=C lscpu | tee lscpu.out | |
fi | |
#---------------------------------------- | |
for i in $argv; do | |
echo i=$i | |
(ruby nop.rb $i && | |
gcc -O3 t.c && | |
ls -l a.out && | |
perf stat $opts $o_repeat $perf ./a.out | |
) |& tee n$i.$ext || | |
break | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Architecture: x86_64 | |
CPU op-mode(s): 32-bit, 64-bit | |
Byte Order: Little Endian | |
Address sizes: 39 bits physical, 48 bits virtual | |
CPU(s): 4 | |
On-line CPU(s) list: 0-3 | |
Thread(s) per core: 2 | |
Core(s) per socket: 2 | |
Socket(s): 1 | |
NUMA node(s): 1 | |
Vendor ID: GenuineIntel | |
CPU family: 6 | |
Model: 142 | |
Model name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz | |
Stepping: 9 | |
CPU MHz: 3500.199 | |
CPU max MHz: 3500.0000 | |
CPU min MHz: 400.0000 | |
BogoMIPS: 5808.00 | |
Virtualization: VT-x | |
L1d cache: 32K | |
L1i cache: 32K | |
L2 cache: 256K | |
L3 cache: 4096K | |
NUMA node0 CPU(s): 0-3 | |
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:1024, loop:9765625 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,997,809,457 instructions:u # 3.98 insn per cycle ( +- 0.13% ) (22.17%) | |
2,512,782,104 cycles:u ( +- 0.04% ) (33.34%) | |
16,798 L1-icache-load-misses:u ( +- 4.21% ) (44.51%) | |
96,788 icache_16b.ifdata_stall:u ( +- 8.27% ) (55.68%) | |
165,998,878 icache_64b.iftag_hit:u ( +- 0.00% ) (66.84%) | |
14,581 icache_64b.iftag_miss:u ( +- 4.46% ) (66.90%) | |
19,551 icache_64b.iftag_stall:u ( +- 3.32% ) (44.46%) | |
4,089 frontend_retired.l1i_miss:u ( +- 6.63% ) (44.32%) | |
12 frontend_retired.l2_miss:u ( +-100.00% ) (11.03%) | |
0.725500 +- 0.000283 seconds time elapsed ( +- 0.04% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:1048576, loop:9536 | |
-rwxrwxr-x. 1 hkoba hkoba 1070552 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,986,606,656 instructions:u # 3.97 insn per cycle ( +- 0.08% ) (22.10%) | |
2,514,258,409 cycles:u ( +- 0.01% ) (33.23%) | |
156,077,301 L1-icache-load-misses:u ( +- 0.04% ) (44.36%) | |
7,937,702 icache_16b.ifdata_stall:u ( +- 0.79% ) (55.48%) | |
1,302,480 icache_64b.iftag_hit:u ( +- 3.25% ) (66.61%) | |
156,228,873 icache_64b.iftag_miss:u ( +- 0.00% ) (66.70%) | |
53,433,597 icache_64b.iftag_stall:u ( +- 0.54% ) (44.52%) | |
156,029,510 frontend_retired.l1i_miss:u ( +- 0.09% ) (44.52%) | |
214,812 frontend_retired.l2_miss:u ( +- 0.63% ) (11.05%) | |
0.728126 +- 0.000510 seconds time elapsed ( +- 0.07% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:128, loop:78125000 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,114,226,767 instructions:u # 3.92 insn per cycle ( +- 0.12% ) (22.09%) | |
2,582,062,752 cycles:u ( +- 0.04% ) (33.22%) | |
9,082 L1-icache-load-misses:u ( +- 3.73% ) (44.35%) | |
103,128 icache_16b.ifdata_stall:u ( +- 6.89% ) (55.49%) | |
234,313,475 icache_64b.iftag_hit:u ( +- 0.02% ) (66.62%) | |
6,262 icache_64b.iftag_miss:u ( +- 2.85% ) (66.71%) | |
4,792 icache_64b.iftag_stall:u ( +- 36.27% ) (44.54%) | |
74 frontend_retired.l1i_miss:u ( +- 49.15% ) (44.51%) | |
48 frontend_retired.l2_miss:u ( +- 90.72% ) (11.04%) | |
0.745717 +- 0.000340 seconds time elapsed ( +- 0.05% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:131072, loop:76293 | |
-rwxrwxr-x. 1 hkoba hkoba 153048 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,984,410,904 instructions:u # 3.98 insn per cycle ( +- 0.04% ) (22.12%) | |
2,510,989,242 cycles:u ( +- 0.17% ) (33.29%) | |
156,214,570 L1-icache-load-misses:u ( +- 0.04% ) (44.46%) | |
1,210,380 icache_16b.ifdata_stall:u ( +- 12.18% ) (55.64%) | |
460,246 icache_64b.iftag_hit:u ( +- 3.92% ) (66.77%) | |
156,267,636 icache_64b.iftag_miss:u ( +- 0.01% ) (66.81%) | |
5,703,953 icache_64b.iftag_stall:u ( +- 1.25% ) (44.46%) | |
156,312,821 frontend_retired.l1i_miss:u ( +- 0.06% ) (44.36%) | |
16,333 frontend_retired.l2_miss:u ( +- 2.38% ) (11.03%) | |
0.72538 +- 0.00130 seconds time elapsed ( +- 0.18% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:134217728, loop:74 | |
-rwxrwxr-x. 1 hkoba hkoba 134239704 8月 28 12:14 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,889,643,458 instructions:u # 3.53 insn per cycle ( +- 0.34% ) (22.16%) | |
2,799,473,656 cycles:u ( +- 0.39% ) (33.28%) | |
155,095,545 L1-icache-load-misses:u ( +- 0.21% ) (44.40%) | |
345,653,281 icache_16b.ifdata_stall:u ( +- 0.94% ) (55.53%) | |
1,106,092 icache_64b.iftag_hit:u ( +- 2.77% ) (66.65%) | |
155,251,612 icache_64b.iftag_miss:u ( +- 0.06% ) (66.71%) | |
111,613,390 icache_64b.iftag_stall:u ( +- 0.99% ) (44.50%) | |
155,146,232 frontend_retired.l1i_miss:u ( +- 0.11% ) (44.47%) | |
8,235,177 frontend_retired.l2_miss:u ( +- 0.85% ) (11.07%) | |
0.83045 +- 0.00308 seconds time elapsed ( +- 0.37% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:16, loop:625000000 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
11,225,108,411 instructions:u # 4.22 insn per cycle ( +- 0.07% ) (22.22%) | |
2,657,990,329 cycles:u ( +- 0.05% ) (33.42%) | |
8,524 L1-icache-load-misses:u ( +- 3.26% ) (44.60%) | |
79,094 icache_16b.ifdata_stall:u ( +- 17.07% ) (55.72%) | |
624,723,572 icache_64b.iftag_hit:u ( +- 0.03% ) (66.80%) | |
6,239 icache_64b.iftag_miss:u ( +- 1.06% ) (66.79%) | |
17,563 icache_64b.iftag_stall:u ( +- 31.64% ) (44.34%) | |
25 frontend_retired.l1i_miss:u ( +- 70.09% ) (44.28%) | |
9 frontend_retired.l2_miss:u ( +- 57.74% ) (11.08%) | |
0.77118 +- 0.00344 seconds time elapsed ( +- 0.45% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:16384, loop:610351 | |
-rwxrwxr-x. 1 hkoba hkoba 38360 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,993,732,980 instructions:u # 3.99 insn per cycle ( +- 0.08% ) (22.15%) | |
2,504,158,839 cycles:u ( +- 0.06% ) (33.35%) | |
405,355 L1-icache-load-misses:u ( +- 9.57% ) (44.56%) | |
357,839 icache_16b.ifdata_stall:u ( +- 24.08% ) (55.68%) | |
156,522,554 icache_64b.iftag_hit:u ( +- 0.01% ) (66.79%) | |
414,171 icache_64b.iftag_miss:u ( +- 3.36% ) (66.79%) | |
1,269,786 icache_64b.iftag_stall:u ( +- 6.33% ) (44.37%) | |
350,706 frontend_retired.l1i_miss:u ( +- 1.66% ) (44.32%) | |
1,745 frontend_retired.l2_miss:u ( +- 34.57% ) (11.07%) | |
0.723072 +- 0.000687 seconds time elapsed ( +- 0.10% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:16777216, loop:596 | |
-rwxrwxr-x. 1 hkoba hkoba 16799192 8月 28 12:11 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,965,669,109 instructions:u # 3.42 insn per cycle ( +- 0.37% ) (22.14%) | |
2,915,618,365 cycles:u ( +- 0.35% ) (33.30%) | |
155,829,732 L1-icache-load-misses:u ( +- 0.25% ) (44.47%) | |
454,898,433 icache_16b.ifdata_stall:u ( +- 3.18% ) (55.63%) | |
1,158,826 icache_64b.iftag_hit:u ( +- 1.42% ) (66.74%) | |
156,039,384 icache_64b.iftag_miss:u ( +- 0.05% ) (66.78%) | |
112,373,675 icache_64b.iftag_stall:u ( +- 0.66% ) (44.45%) | |
156,571,105 frontend_retired.l1i_miss:u ( +- 0.17% ) (44.37%) | |
9,749,535 frontend_retired.l2_miss:u ( +- 2.30% ) (11.05%) | |
0.86309 +- 0.00246 seconds time elapsed ( +- 0.29% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:2048, loop:4882812 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,990,473,022 instructions:u # 3.99 insn per cycle ( +- 0.03% ) (22.16%) | |
2,506,017,866 cycles:u ( +- 0.05% ) (33.35%) | |
29,571 L1-icache-load-misses:u ( +- 0.95% ) (44.55%) | |
116,405 icache_16b.ifdata_stall:u ( +- 11.73% ) (55.74%) | |
161,201,068 icache_64b.iftag_hit:u ( +- 0.04% ) (66.83%) | |
26,901 icache_64b.iftag_miss:u ( +- 0.66% ) (66.83%) | |
23,806 icache_64b.iftag_stall:u ( +- 6.64% ) (44.39%) | |
14,693 frontend_retired.l1i_miss:u ( +- 1.23% ) (44.26%) | |
163 frontend_retired.l2_miss:u ( +-100.00% ) (11.06%) | |
0.723802 +- 0.000262 seconds time elapsed ( +- 0.04% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:2097152, loop:4768 | |
-rwxrwxr-x. 1 hkoba hkoba 2119128 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,959,951,431 instructions:u # 3.95 insn per cycle ( +- 0.05% ) (22.24%) | |
2,522,176,164 cycles:u ( +- 0.20% ) (33.37%) | |
156,133,003 L1-icache-load-misses:u ( +- 0.02% ) (44.51%) | |
13,232,136 icache_16b.ifdata_stall:u ( +- 4.00% ) (55.64%) | |
1,393,862 icache_64b.iftag_hit:u ( +- 0.49% ) (66.73%) | |
156,286,071 icache_64b.iftag_miss:u ( +- 0.01% ) (66.71%) | |
54,767,992 icache_64b.iftag_stall:u ( +- 0.74% ) (44.40%) | |
156,119,399 frontend_retired.l1i_miss:u ( +- 0.03% ) (44.36%) | |
277,615 frontend_retired.l2_miss:u ( +- 5.12% ) (11.11%) | |
0.73082 +- 0.00121 seconds time elapsed ( +- 0.17% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:256, loop:39062500 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,059,845,285 instructions:u # 3.96 insn per cycle ( +- 0.07% ) (22.18%) | |
2,539,457,462 cycles:u ( +- 0.01% ) (33.37%) | |
9,658 L1-icache-load-misses:u ( +- 1.64% ) (44.56%) | |
89,374 icache_16b.ifdata_stall:u ( +- 1.46% ) (55.74%) | |
195,325,294 icache_64b.iftag_hit:u ( +- 0.01% ) (66.84%) | |
7,770 icache_64b.iftag_miss:u ( +- 2.33% ) (66.85%) | |
14,069 icache_64b.iftag_stall:u ( +- 13.22% ) (44.39%) | |
85 frontend_retired.l1i_miss:u ( +- 18.52% ) (44.26%) | |
9 frontend_retired.l2_miss:u ( +-100.00% ) (11.05%) | |
0.733204 +- 0.000309 seconds time elapsed ( +- 0.04% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:262144, loop:38146 | |
-rwxrwxr-x. 1 hkoba hkoba 284120 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,962,084,626 instructions:u # 3.96 insn per cycle ( +- 0.07% ) (22.19%) | |
2,513,208,693 cycles:u ( +- 0.18% ) (33.34%) | |
156,022,236 L1-icache-load-misses:u ( +- 0.08% ) (44.49%) | |
1,778,941 icache_16b.ifdata_stall:u ( +- 1.05% ) (55.64%) | |
615,560 icache_64b.iftag_hit:u ( +- 1.36% ) (66.76%) | |
156,242,473 icache_64b.iftag_miss:u ( +- 0.02% ) (66.81%) | |
6,953,773 icache_64b.iftag_stall:u ( +- 5.79% ) (44.45%) | |
156,432,144 frontend_retired.l1i_miss:u ( +- 0.01% ) (44.36%) | |
38,387 frontend_retired.l2_miss:u ( +- 1.28% ) (11.06%) | |
0.72659 +- 0.00146 seconds time elapsed ( +- 0.20% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:268435456, loop:37 | |
gcc: 致命的エラー: 強制終了 signal terminated program cc1 | |
コンパイルを停止しました。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:32, loop:312500000 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,582,920,322 instructions:u # 3.76 insn per cycle ( +- 0.16% ) (22.22%) | |
2,814,792,023 cycles:u ( +- 0.03% ) (33.42%) | |
9,577 L1-icache-load-misses:u ( +- 0.94% ) (44.57%) | |
84,206 icache_16b.ifdata_stall:u ( +- 12.57% ) (55.69%) | |
624,605,121 icache_64b.iftag_hit:u ( +- 0.01% ) (66.78%) | |
6,949 icache_64b.iftag_miss:u ( +- 2.46% ) (66.77%) | |
10,910 icache_64b.iftag_stall:u ( +- 29.52% ) (44.35%) | |
62 frontend_retired.l1i_miss:u ( +- 23.76% ) (44.31%) | |
12 frontend_retired.l2_miss:u ( +- 66.14% ) (11.08%) | |
0.812855 +- 0.000456 seconds time elapsed ( +- 0.06% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:32768, loop:305175 | |
-rwxrwxr-x. 1 hkoba hkoba 54744 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,989,769,159 instructions:u # 3.99 insn per cycle ( +- 0.12% ) (22.16%) | |
2,505,924,615 cycles:u ( +- 0.03% ) (33.36%) | |
3,833,959 L1-icache-load-misses:u ( +- 1.37% ) (44.56%) | |
400,672 icache_16b.ifdata_stall:u ( +- 5.40% ) (55.75%) | |
152,940,899 icache_64b.iftag_hit:u ( +- 0.10% ) (66.82%) | |
3,908,309 icache_64b.iftag_miss:u ( +- 3.45% ) (66.82%) | |
2,722,874 icache_64b.iftag_stall:u ( +- 4.83% ) (44.38%) | |
3,960,070 frontend_retired.l1i_miss:u ( +- 0.45% ) (44.25%) | |
509 frontend_retired.l2_miss:u ( +- 26.20% ) (11.06%) | |
0.7235877 +- 0.0000844 seconds time elapsed ( +- 0.01% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:33554432, loop:298 | |
-rwxrwxr-x. 1 hkoba hkoba 33576408 8月 28 12:11 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,015,935,893 instructions:u # 3.43 insn per cycle ( +- 0.19% ) (22.17%) | |
2,917,842,205 cycles:u ( +- 0.18% ) (33.35%) | |
156,175,833 L1-icache-load-misses:u ( +- 0.05% ) (44.52%) | |
451,787,127 icache_16b.ifdata_stall:u ( +- 1.58% ) (55.66%) | |
1,132,101 icache_64b.iftag_hit:u ( +- 2.84% ) (66.76%) | |
155,953,651 icache_64b.iftag_miss:u ( +- 0.13% ) (66.80%) | |
112,294,803 icache_64b.iftag_stall:u ( +- 0.25% ) (44.43%) | |
156,247,562 frontend_retired.l1i_miss:u ( +- 0.13% ) (44.34%) | |
9,299,988 frontend_retired.l2_miss:u ( +- 0.83% ) (11.06%) | |
0.859601 +- 0.000931 seconds time elapsed ( +- 0.11% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:4096, loop:2441406 | |
-rwxrwxr-x. 1 hkoba hkoba 26072 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,995,675,508 instructions:u # 3.99 insn per cycle ( +- 0.07% ) (22.17%) | |
2,504,790,152 cycles:u ( +- 0.04% ) (33.37%) | |
40,628 L1-icache-load-misses:u ( +- 0.94% ) (44.57%) | |
112,928 icache_16b.ifdata_stall:u ( +- 8.95% ) (55.73%) | |
158,757,498 icache_64b.iftag_hit:u ( +- 0.05% ) (66.80%) | |
38,089 icache_64b.iftag_miss:u ( +- 1.47% ) (66.80%) | |
28,960 icache_64b.iftag_stall:u ( +- 17.04% ) (44.36%) | |
27,174 frontend_retired.l1i_miss:u ( +- 1.11% ) (44.27%) | |
84 frontend_retired.l2_miss:u ( +- 45.60% ) (11.07%) | |
0.723256 +- 0.000420 seconds time elapsed ( +- 0.06% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:4194304, loop:2384 | |
-rwxrwxr-x. 1 hkoba hkoba 4216280 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,978,600,118 instructions:u # 3.63 insn per cycle ( +- 0.16% ) (22.16%) | |
2,750,700,643 cycles:u ( +- 0.22% ) (33.30%) | |
155,857,489 L1-icache-load-misses:u ( +- 0.11% ) (44.46%) | |
274,900,539 icache_16b.ifdata_stall:u ( +- 1.61% ) (55.59%) | |
1,097,707 icache_64b.iftag_hit:u ( +- 6.99% ) (66.74%) | |
155,983,463 icache_64b.iftag_miss:u ( +- 0.09% ) (66.82%) | |
63,363,550 icache_64b.iftag_stall:u ( +- 2.32% ) (44.48%) | |
156,506,624 frontend_retired.l1i_miss:u ( +- 0.09% ) (44.41%) | |
5,487,902 frontend_retired.l2_miss:u ( +- 1.81% ) (11.06%) | |
0.80477 +- 0.00188 seconds time elapsed ( +- 0.23% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:512, loop:19531250 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,024,613,016 instructions:u # 3.93 insn per cycle ( +- 0.04% ) (22.21%) | |
2,554,015,153 cycles:u ( +- 1.19% ) (33.33%) | |
13,108 L1-icache-load-misses:u ( +- 5.61% ) (44.44%) | |
123,056 icache_16b.ifdata_stall:u ( +- 24.84% ) (55.56%) | |
176,143,591 icache_64b.iftag_hit:u ( +- 0.08% ) (66.68%) | |
10,108 icache_64b.iftag_miss:u ( +- 6.57% ) (66.72%) | |
9,536 icache_64b.iftag_stall:u ( +- 19.23% ) (44.47%) | |
618 frontend_retired.l1i_miss:u ( +- 14.35% ) (44.44%) | |
81 frontend_retired.l2_miss:u ( +- 55.08% ) (11.07%) | |
0.73786 +- 0.00911 seconds time elapsed ( +- 1.23% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:524288, loop:19073 | |
-rwxrwxr-x. 1 hkoba hkoba 546264 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,984,478,322 instructions:u # 3.96 insn per cycle ( +- 0.10% ) (22.16%) | |
2,521,867,684 cycles:u ( +- 0.19% ) (33.31%) | |
156,147,753 L1-icache-load-misses:u ( +- 0.10% ) (44.45%) | |
8,124,957 icache_16b.ifdata_stall:u ( +- 11.36% ) (55.59%) | |
1,136,763 icache_64b.iftag_hit:u ( +- 1.50% ) (66.70%) | |
156,191,866 icache_64b.iftag_miss:u ( +- 0.02% ) (66.75%) | |
24,209,927 icache_64b.iftag_stall:u ( +- 1.56% ) (44.45%) | |
156,065,538 frontend_retired.l1i_miss:u ( +- 0.06% ) (44.41%) | |
201,246 frontend_retired.l2_miss:u ( +- 1.52% ) (11.05%) | |
0.72995 +- 0.00146 seconds time elapsed ( +- 0.20% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:64, loop:156250000 | |
-rwxrwxr-x. 1 hkoba hkoba 21976 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
10,289,184,369 instructions:u # 3.87 insn per cycle ( +- 0.08% ) (22.20%) | |
2,657,772,212 cycles:u ( +- 0.03% ) (33.40%) | |
8,131 L1-icache-load-misses:u ( +- 1.84% ) (44.56%) | |
91,535 icache_16b.ifdata_stall:u ( +- 3.21% ) (55.68%) | |
312,492,198 icache_64b.iftag_hit:u ( +- 0.00% ) (66.79%) | |
5,950 icache_64b.iftag_miss:u ( +- 2.29% ) (66.81%) | |
12,041 icache_64b.iftag_stall:u ( +- 34.89% ) (44.37%) | |
29 frontend_retired.l1i_miss:u ( +- 54.19% ) (44.32%) | |
6 frontend_retired.l2_miss:u ( +-100.00% ) (11.06%) | |
0.768516 +- 0.000670 seconds time elapsed ( +- 0.09% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:65536, loop:152587 | |
-rwxrwxr-x. 1 hkoba hkoba 87512 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,968,412,011 instructions:u # 3.95 insn per cycle ( +- 0.15% ) (22.17%) | |
2,523,187,224 cycles:u ( +- 0.71% ) (33.37%) | |
156,108,368 L1-icache-load-misses:u ( +- 0.11% ) (44.57%) | |
4,530,105 icache_16b.ifdata_stall:u ( +- 84.63% ) (55.74%) | |
565,904 icache_64b.iftag_hit:u ( +- 17.77% ) (66.81%) | |
156,421,102 icache_64b.iftag_miss:u ( +- 0.05% ) (66.81%) | |
5,127,352 icache_64b.iftag_stall:u ( +- 4.80% ) (44.36%) | |
156,326,764 frontend_retired.l1i_miss:u ( +- 0.06% ) (44.26%) | |
14,428 frontend_retired.l2_miss:u ( +- 96.65% ) (11.06%) | |
0.72945 +- 0.00594 seconds time elapsed ( +- 0.81% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:67108864, loop:149 | |
-rwxrwxr-x. 1 hkoba hkoba 67130840 8月 28 12:12 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,945,466,144 instructions:u # 3.25 insn per cycle ( +- 0.24% ) (22.22%) | |
3,060,535,996 cycles:u ( +- 4.51% ) (33.38%) | |
155,508,133 L1-icache-load-misses:u ( +- 0.29% ) (44.53%) | |
554,552,790 icache_16b.ifdata_stall:u ( +- 20.27% ) (55.66%) | |
1,188,523 icache_64b.iftag_hit:u ( +- 4.86% ) (66.75%) | |
155,763,576 icache_64b.iftag_miss:u ( +- 0.04% ) (66.76%) | |
117,100,427 icache_64b.iftag_stall:u ( +- 2.92% ) (44.39%) | |
156,458,206 frontend_retired.l1i_miss:u ( +- 0.36% ) (44.34%) | |
10,657,546 frontend_retired.l2_miss:u ( +- 12.13% ) (11.08%) | |
0.9057 +- 0.0397 seconds time elapsed ( +- 4.38% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:8192, loop:1220703 | |
-rwxrwxr-x. 1 hkoba hkoba 30168 8月 28 12:10 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,990,848,929 instructions:u # 3.99 insn per cycle ( +- 0.06% ) (22.20%) | |
2,506,241,540 cycles:u ( +- 0.10% ) (33.39%) | |
116,043 L1-icache-load-misses:u ( +- 6.58% ) (44.58%) | |
338,704 icache_16b.ifdata_stall:u ( +- 68.66% ) (55.72%) | |
157,324,500 icache_64b.iftag_hit:u ( +- 0.00% ) (66.83%) | |
113,359 icache_64b.iftag_miss:u ( +- 8.44% ) (66.85%) | |
25,410 icache_64b.iftag_stall:u ( +- 23.93% ) (44.37%) | |
97,752 frontend_retired.l1i_miss:u ( +- 8.66% ) (44.28%) | |
51 frontend_retired.l2_miss:u ( +- 65.50% ) (11.05%) | |
0.724088 +- 0.000580 seconds time elapsed ( +- 0.08% ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nop:8388608, loop:1192 | |
-rwxrwxr-x. 1 hkoba hkoba 8410584 8月 28 12:11 a.out | |
Performance counter stats for './a.out' (3 runs): | |
9,978,948,355 instructions:u # 3.38 insn per cycle ( +- 0.09% ) (22.13%) | |
2,948,205,083 cycles:u ( +- 1.30% ) (33.27%) | |
156,208,911 L1-icache-load-misses:u ( +- 0.11% ) (44.41%) | |
485,069,414 icache_16b.ifdata_stall:u ( +- 6.40% ) (55.56%) | |
1,249,803 icache_64b.iftag_hit:u ( +- 2.21% ) (66.68%) | |
156,367,387 icache_64b.iftag_miss:u ( +- 0.05% ) (66.74%) | |
112,657,750 icache_64b.iftag_stall:u ( +- 0.78% ) (44.48%) | |
156,069,148 frontend_retired.l1i_miss:u ( +- 0.14% ) (44.44%) | |
9,455,446 frontend_retired.l2_miss:u ( +- 3.35% ) (11.05%) | |
0.8677 +- 0.0113 seconds time elapsed ( +- 1.31% ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment