全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1483 6
2013-06-07
悬赏 30 个论坛币 未解决
请问有没谁知道怎么得到sas中程序运行的时间。比如用proc sort来对10000个观测量来进行排序,怎么输出它运行到了1000个观测量,2000个观测量,。。。的时间.悬赏不多,但是是我最后的论坛币了,希望有经验的朋友能帮我解决这个问题。



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-6-7 15:31:47
花钱买呗
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-7 16:38:00
坐等高手……友情帮顶
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-7 22:59:13
/* try this */

data test;
   do n = 1 to 100000;
      x = int(ranuni(12345)*10000);
    output;
   end;
run;
proc sort data=test out=test_sort_x;
   by x;
run;

%let outobs=1000;
proc sql outobs=&outobs;
    create table test_sort_n as
      select *
        from test_sort_x
          order by n;
quit;
proc print data=test_sort_n; run;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-8 10:27:35
yongyitian 发表于 2013-6-7 22:59
/* try this */

data test;
不对把,我是要把时间显示出来额
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-8 11:45:52
jy02368333 发表于 2013-6-8 10:27
不对把,我是要把时间显示出来额
You may want to have a look at the FULLSTIMER option that is for collecting performance information on each data step.

http://support.sas.com/rnd/scalability/tools/fullstim/

Not sure if it works within a data step to monitering real time performance.

If the above does not provide what you want. You may need to process different amount data several times, then comparing the used computer time.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群