知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

Stream安装配置教程

发布时间:2014-09-05 14:09:17作者:知识屋

Stream安装配置教程
 
[root@RedHat stream]# make
gcc -O2 stream.c -o stream
[root@RedHat stream]# ls
Makefile  stream  stream.c  stream.f
[root@RedHat stream]# ./stream
-------------------------------------------------------------
STREAM version $Revision: 5.9 $
-------------------------------------------------------------
This system uses 8 bytes per DOUBLE PRECISION word.
-------------------------------------------------------------
Array size = 2000000, Offset = 0
Total memory required = 45.8 MB.
Each test is run 10 times, but only
the *best* time for each is used.
-------------------------------------------------------------
Printing one line per active thread....
-------------------------------------------------------------
Your clock granularity/precision appears to be 6 microseconds.
Each test below will take on the order of 17340 microseconds.
   (= 2890 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function      Rate (MB/s)   Avg time     Min time     Max time
Copy:        2264.0171       0.0154       0.0141       0.0169
Scale:       2212.8422       0.0154       0.0145       0.0164
Add:         2936.3309       0.0196       0.0163       0.0214
Triad:       2673.8123       0.0199       0.0180       0.0216
-------------------------------------------------------------
Solution Validates
-------------------------------------------------------------
[root@RedHat stream]#
 
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜