История изменений
Исправление greenman, (текущая версия) :
На интеле с практически два раза меньшей частотой (турбобуста на i3 нет)
$ time ./test01.out
3.1415926526
real 0m8.282s
user 0m8.280s
sys 0m0.003s
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
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: 69
Model name: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz
Stepping: 1
CPU MHz: 1392.406
CPU max MHz: 1700.0000
CPU min MHz: 800.0000
BogoMIPS: 3392.65
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3
gcc version 4.9.2
Исходная версия greenman, :
На интеле с два раза меньшей частотой (турбобуста на i3 нет)
$ time ./test01.out
3.1415926526
real 0m8.282s
user 0m8.280s
sys 0m0.003s
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
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: 69
Model name: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz
Stepping: 1
CPU MHz: 1392.406
CPU max MHz: 1700.0000
CPU min MHz: 800.0000
BogoMIPS: 3392.65
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3