| Loop Id: 13 | Module: kmeans-icpx-Ofast | Source: main.cpp:71-82 | Coverage: 3.71% |
|---|
| Loop Id: 13 | Module: kmeans-icpx-Ofast | Source: main.cpp:71-82 | Coverage: 3.71% |
|---|
0x4037f0 LEA 0x1(%R8),%R9 |
0x4037f4 CMP %RCX,%R8 |
0x4037f7 MOV %R9,%R8 |
0x4037fa JE 403915 |
0x403800 LEA (%R8,%RAX,1),%R9 |
0x403804 MOV %R9,%R10 |
0x403807 SAL $0x4,%R10 |
0x40380b VMOVUPD (%R15,%R10,1),%XMM1 |
0x403811 VMOVAPD %XMM0,%XMM2 |
0x403815 CMP $0x4,%EDX |
0x403818 JAE 403860 |
0x40381a CMP %RDX,%RSI |
0x40381d JAE 4037f0 |
0x40381f MOV %RBX,%R10 |
0x403822 MOV %RSI,%R11 |
0x403825 JMP 40383c |
(14) 0x403830 INC %R11 |
(14) 0x403833 ADD $0x10,%R10 |
(14) 0x403837 CMP %R11,%RDX |
(14) 0x40383a JE 4037f0 |
(14) 0x40383c VSUBPD (%R10),%XMM1,%XMM3 |
(14) 0x403841 VMULPD %XMM3,%XMM3,%XMM3 |
(14) 0x403845 VSHUFPD $0x1,%XMM3,%XMM3,%XMM4 |
(14) 0x40384a VADDSD %XMM3,%XMM4,%XMM3 |
(14) 0x40384e VUCOMISD %XMM2,%XMM3 |
(14) 0x403852 JAE 403830 |
(14) 0x403854 MOV %R11D,(%R14,%R9,4) |
(14) 0x403858 VMOVAPD %XMM3,%XMM2 |
(14) 0x40385c JMP 403830 |
0x403860 MOV %RDI,%R10 |
0x403863 XOR %R11D,%R11D |
0x403866 VMOVAPD %XMM0,%XMM2 |
0x40386a JMP 40387d |
(15) 0x403870 ADD $0x4,%R11 |
(15) 0x403874 ADD $0x40,%R10 |
(15) 0x403878 CMP %R11,%RSI |
(15) 0x40387b JE 40381a |
(15) 0x40387d VSUBPD -0x30(%R10),%XMM1,%XMM3 |
(15) 0x403883 VMULPD %XMM3,%XMM3,%XMM3 |
(15) 0x403887 VSHUFPD $0x1,%XMM3,%XMM3,%XMM4 |
(15) 0x40388c VADDSD %XMM3,%XMM4,%XMM3 |
(15) 0x403890 VUCOMISD %XMM2,%XMM3 |
(15) 0x403894 JAE 40389e |
(15) 0x403896 MOV %R11D,(%R14,%R9,4) |
(15) 0x40389a VMOVAPD %XMM3,%XMM2 |
(15) 0x40389e VSUBPD -0x20(%R10),%XMM1,%XMM3 |
(15) 0x4038a4 VMULPD %XMM3,%XMM3,%XMM3 |
(15) 0x4038a8 VSHUFPD $0x1,%XMM3,%XMM3,%XMM4 |
(15) 0x4038ad VADDSD %XMM3,%XMM4,%XMM3 |
(15) 0x4038b1 VUCOMISD %XMM2,%XMM3 |
(15) 0x4038b5 JAE 4038c3 |
(15) 0x4038b7 LEA 0x1(%R11),%R12D |
(15) 0x4038bb MOV %R12D,(%R14,%R9,4) |
(15) 0x4038bf VMOVAPD %XMM3,%XMM2 |
(15) 0x4038c3 VSUBPD -0x10(%R10),%XMM1,%XMM3 |
(15) 0x4038c9 VMULPD %XMM3,%XMM3,%XMM3 |
(15) 0x4038cd VSHUFPD $0x1,%XMM3,%XMM3,%XMM4 |
(15) 0x4038d2 VADDSD %XMM3,%XMM4,%XMM3 |
(15) 0x4038d6 VUCOMISD %XMM2,%XMM3 |
(15) 0x4038da JAE 4038e8 |
(15) 0x4038dc LEA 0x2(%R11),%R12D |
(15) 0x4038e0 MOV %R12D,(%R14,%R9,4) |
(15) 0x4038e4 VMOVAPD %XMM3,%XMM2 |
(15) 0x4038e8 VSUBPD (%R10),%XMM1,%XMM3 |
(15) 0x4038ed VMULPD %XMM3,%XMM3,%XMM3 |
(15) 0x4038f1 VSHUFPD $0x1,%XMM3,%XMM3,%XMM4 |
(15) 0x4038f6 VADDSD %XMM3,%XMM4,%XMM3 |
(15) 0x4038fa VUCOMISD %XMM2,%XMM3 |
(15) 0x4038fe JAE 403870 |
(15) 0x403904 LEA 0x3(%R11),%R12D |
(15) 0x403908 MOV %R12D,(%R14,%R9,4) |
(15) 0x40390c VMOVAPD %XMM3,%XMM2 |
(15) 0x403910 JMP 403870 |
/home/fmusial/KMEANS_Benchmarks/kmeans/main.cpp: 71 - 82 |
-------------------------------------------------------------------------------- |
71: for (int i = 0; i < n; ++i) { |
72: double optimal_dist = DBL_MAX; |
73: for (int j = 0; j < k; ++j) { |
74: double dist = |
75: (points[i].x - centroids[j].x) * (points[i].x - centroids[j].x) + |
76: (points[i].y - centroids[j].y) * (points[i].y - centroids[j].y); |
77: if (dist < optimal_dist) { |
78: optimal_dist = dist; |
79: assignment[i] = j; |
80: } |
81: } |
82: } |
| Coverage (%) | Name | Source Location | Module |
|---|
| Coverage (%) | Name | Source Location | Module |
|---|
| Coverage (%) | Name | Source Location | Module |
|---|
| Coverage (%) | Name | Source Location | Module |
|---|
| Coverage (%) | Name | Source Location | Module |
|---|
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| Path / |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 2.86 |
| CQA speedup if FP arith vectorized | 1.00 |
| CQA speedup if fully vectorized | 13.33 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 1.67 |
| Bottlenecks | micro-operation queue, |
| Function | k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone .extracted] |
| Source | main.cpp:71-71,main.cpp:75-75,main.cpp:79-79,main.cpp:82-82 |
| Source loop unroll info | NA |
| Source loop unroll confidence level | NA |
| Unroll/vectorization loop type | NA |
| Unroll factor | NA |
| CQA cycles | 5.00 |
| CQA cycles if no scalar integer | 1.75 |
| CQA cycles if FP arith vectorized | 5.00 |
| CQA cycles if fully vectorized | 0.38 |
| Front-end cycles | 5.00 |
| P0 cycles | 3.00 |
| P1 cycles | 2.50 |
| P2 cycles | 0.50 |
| P3 cycles | 0.50 |
| P4 cycles | 0.00 |
| P5 cycles | 2.50 |
| P6 cycles | 3.00 |
| P7 cycles | 0.00 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | NA |
| FE+BE cycles (UFS) | 5.11 |
| Stall cycles (UFS) | 0.00 |
| Nb insns | 20.00 |
| Nb uops | 20.00 |
| Nb loads | 1.00 |
| Nb stores | 0.00 |
| Nb stack references | 0.00 |
| FLOP/cycle | 0.00 |
| Nb FLOP add-sub | 0.00 |
| Nb FLOP mul | 0.00 |
| Nb FLOP fma | 0.00 |
| Nb FLOP div | 0.00 |
| Nb FLOP rcp | 0.00 |
| Nb FLOP sqrt | 0.00 |
| Nb FLOP rsqrt | 0.00 |
| Bytes/cycle | 3.20 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 16.00 |
| Bytes stored | 0.00 |
| Stride 0 | NA |
| Stride 1 | NA |
| Stride n | NA |
| Stride unknown | NA |
| Stride indirect | NA |
| Vectorization ratio all | 42.86 |
| Vectorization ratio load | 100.00 |
| Vectorization ratio store | NA |
| Vectorization ratio mul | NA |
| Vectorization ratio add_sub | NA |
| Vectorization ratio fma | NA |
| Vectorization ratio div_sqrt | NA |
| Vectorization ratio other | 33.33 |
| Vector-efficiency ratio all | 16.07 |
| Vector-efficiency ratio load | 25.00 |
| Vector-efficiency ratio store | NA |
| Vector-efficiency ratio mul | NA |
| Vector-efficiency ratio add_sub | NA |
| Vector-efficiency ratio fma | NA |
| Vector-efficiency ratio div_sqrt | NA |
| Vector-efficiency ratio other | 14.58 |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 2.86 |
| CQA speedup if FP arith vectorized | 1.00 |
| CQA speedup if fully vectorized | 13.33 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 1.67 |
| Bottlenecks | micro-operation queue, |
| Function | k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone .extracted] |
| Source | main.cpp:71-71,main.cpp:75-75,main.cpp:79-79,main.cpp:82-82 |
| Source loop unroll info | NA |
| Source loop unroll confidence level | NA |
| Unroll/vectorization loop type | NA |
| Unroll factor | NA |
| CQA cycles | 5.00 |
| CQA cycles if no scalar integer | 1.75 |
| CQA cycles if FP arith vectorized | 5.00 |
| CQA cycles if fully vectorized | 0.38 |
| Front-end cycles | 5.00 |
| P0 cycles | 3.00 |
| P1 cycles | 2.50 |
| P2 cycles | 0.50 |
| P3 cycles | 0.50 |
| P4 cycles | 0.00 |
| P5 cycles | 2.50 |
| P6 cycles | 3.00 |
| P7 cycles | 0.00 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | NA |
| FE+BE cycles (UFS) | 5.11 |
| Stall cycles (UFS) | 0.00 |
| Nb insns | 20.00 |
| Nb uops | 20.00 |
| Nb loads | 1.00 |
| Nb stores | 0.00 |
| Nb stack references | 0.00 |
| FLOP/cycle | 0.00 |
| Nb FLOP add-sub | 0.00 |
| Nb FLOP mul | 0.00 |
| Nb FLOP fma | 0.00 |
| Nb FLOP div | 0.00 |
| Nb FLOP rcp | 0.00 |
| Nb FLOP sqrt | 0.00 |
| Nb FLOP rsqrt | 0.00 |
| Bytes/cycle | 3.20 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 16.00 |
| Bytes stored | 0.00 |
| Stride 0 | NA |
| Stride 1 | NA |
| Stride n | NA |
| Stride unknown | NA |
| Stride indirect | NA |
| Vectorization ratio all | 42.86 |
| Vectorization ratio load | 100.00 |
| Vectorization ratio store | NA |
| Vectorization ratio mul | NA |
| Vectorization ratio add_sub | NA |
| Vectorization ratio fma | NA |
| Vectorization ratio div_sqrt | NA |
| Vectorization ratio other | 33.33 |
| Vector-efficiency ratio all | 16.07 |
| Vector-efficiency ratio load | 25.00 |
| Vector-efficiency ratio store | NA |
| Vector-efficiency ratio mul | NA |
| Vector-efficiency ratio add_sub | NA |
| Vector-efficiency ratio fma | NA |
| Vector-efficiency ratio div_sqrt | NA |
| Vector-efficiency ratio other | 14.58 |
| Path / |
| Function | k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone .extracted] |
| Source file and lines | main.cpp:71-82 |
| Module | kmeans-icpx-Ofast |
| nb instructions | 20 |
| nb uops | 20 |
| loop length | 67 |
| used x86 registers | 11 |
| used mmx registers | 0 |
| used xmm registers | 3 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 5.00 cycles |
| front end | 5.00 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | |
|---|---|---|---|---|---|---|---|---|
| uops | 3.00 | 2.50 | 0.50 | 0.50 | 0.00 | 2.50 | 3.00 | 0.00 |
| cycles | 3.00 | 2.50 | 0.50 | 0.50 | 0.00 | 2.50 | 3.00 | 0.00 |
| Cycles executing div or sqrt instructions | NA |
| FE+BE cycles | 5.11 |
| Stall cycles | 0.00 |
| Front-end | 5.00 |
| Dispatch | 3.00 |
| Overall L1 | 5.00 |
| all | 0% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 0% |
| all | 100% |
| load | 100% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 100% |
| all | 42% |
| load | 100% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 33% |
| all | 9% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 9% |
| all | 25% |
| load | 25% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 25% |
| all | 16% |
| load | 25% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 14% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LEA 0x1(%R8),%R9 | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 | N/A |
| CMP %RCX,%R8 | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | scal (12.5%) |
| MOV %R9,%R8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| JE 403915 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x1e5> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| LEA (%R8,%RAX,1),%R9 | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 | N/A |
| MOV %R9,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| SAL $0x4,%R10 | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 1 | 0.50 | N/A |
| VMOVUPD (%R15,%R10,1),%XMM1 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 | vect (25.0%) |
| VMOVAPD %XMM0,%XMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | vect (25.0%) |
| CMP $0x4,%EDX | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | scal (6.3%) |
| JAE 403860 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x130> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| CMP %RDX,%RSI | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | N/A |
| JAE 4037f0 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0xc0> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| MOV %RBX,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| MOV %RSI,%R11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | scal (12.5%) |
| JMP 40383c <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x10c> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1-2 | N/A |
| MOV %RDI,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| XOR %R11D,%R11D | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | scal (6.3%) |
| VMOVAPD %XMM0,%XMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | vect (25.0%) |
| JMP 40387d <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x14d> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1-2 | N/A |
| Function | k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone .extracted] |
| Source file and lines | main.cpp:71-82 |
| Module | kmeans-icpx-Ofast |
| nb instructions | 20 |
| nb uops | 20 |
| loop length | 67 |
| used x86 registers | 11 |
| used mmx registers | 0 |
| used xmm registers | 3 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 5.00 cycles |
| front end | 5.00 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | |
|---|---|---|---|---|---|---|---|---|
| uops | 3.00 | 2.50 | 0.50 | 0.50 | 0.00 | 2.50 | 3.00 | 0.00 |
| cycles | 3.00 | 2.50 | 0.50 | 0.50 | 0.00 | 2.50 | 3.00 | 0.00 |
| Cycles executing div or sqrt instructions | NA |
| FE+BE cycles | 5.11 |
| Stall cycles | 0.00 |
| Front-end | 5.00 |
| Dispatch | 3.00 |
| Overall L1 | 5.00 |
| all | 0% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 0% |
| all | 100% |
| load | 100% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 100% |
| all | 42% |
| load | 100% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 33% |
| all | 9% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 9% |
| all | 25% |
| load | 25% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 25% |
| all | 16% |
| load | 25% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 14% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LEA 0x1(%R8),%R9 | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 | N/A |
| CMP %RCX,%R8 | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | scal (12.5%) |
| MOV %R9,%R8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| JE 403915 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x1e5> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| LEA (%R8,%RAX,1),%R9 | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 | N/A |
| MOV %R9,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| SAL $0x4,%R10 | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 1 | 0.50 | N/A |
| VMOVUPD (%R15,%R10,1),%XMM1 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 | vect (25.0%) |
| VMOVAPD %XMM0,%XMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | vect (25.0%) |
| CMP $0x4,%EDX | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | scal (6.3%) |
| JAE 403860 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x130> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| CMP %RDX,%RSI | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 | N/A |
| JAE 4037f0 <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0xc0> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 | N/A |
| MOV %RBX,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| MOV %RSI,%R11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | scal (12.5%) |
| JMP 40383c <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x10c> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1-2 | N/A |
| MOV %RDI,%R10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | N/A |
| XOR %R11D,%R11D | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | scal (6.3%) |
| VMOVAPD %XMM0,%XMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | vect (25.0%) |
| JMP 40387d <_Z7k_meansiP7point_tS0_PiS0_ii.extracted+0x14d> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1-2 | N/A |
| Run run_1_thread | Number processes: 1Number nodes: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 1 |
|---|---|
| Run run_2_threads | Number processes: 1Number nodes: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 2 |
| Run run_4_threads | Number processes: 1Number nodes: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 4 |
| Run run_8_threads | Number processes: 1Number nodes: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 8 |
| Run run_10_threads | Number processes: 1Number nodes: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 10 |
| (run_1_thread) Efficiency | (run_1_thread) Potential Speed-Up (%) | (run_2_threads) Efficiency | (run_2_threads) Potential Speed-Up (%) | (run_4_threads) Efficiency | (run_4_threads) Potential Speed-Up (%) | (run_8_threads) Efficiency | (run_8_threads) Potential Speed-Up (%) | (run_10_threads) Efficiency | (run_10_threads) Potential Speed-Up (%) |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 0.98 | 0.06 | 0.84 | 0.53 | 0.81 | 0.52 | 0.77 | 0.59 |
| Run | Number of threads | Efficiency (ideal is 1) | Speedup | Ideal Speedup | Time (s) | Coverage (%) |
|---|---|---|---|---|---|---|
| run_1_thread | 1 | 1 | 1 | 1 | 3.779999256134 | 3.7086091041565 |
| run_2_threads | 2 | 0.98 | 1.96 | 2 | 1.8899997472763 | 3.449857711792 |
| run_4_threads | 4 | 0.84 | 3.37 | 4 | 1.1399999856949 | 3.3767175674438 |
| run_8_threads | 8 | 0.81 | 6.48 | 8 | 0.56999987363815 | 2.7205586433411 |
| run_10_threads | 10 | 0.77 | 7.71 | 10 | 0.47999995946884 | 2.5898871421814 |
