想要比较两个算法,但不知如何获取程序运行所需要的时间?
望各位大侠相助!谢谢!

解决方案 »

  1.   

    或者GetTickCount();
    在开始和结束时调用,之差就是了。
      

  2.   

    Intel Vtune Performance Analyzer
    专业的程序性能分析软件。
      

  3.   

    bobworld(红小兵) : 
      Intel Vtune Performance Analyzer
    专业的程序性能分析软件。
      
    哪里可以搞到这个软件? 
     
      

  4.   

    profile可以看程序中各函数的执行时间
    project->setting->link->enable profiling
    然后build->profile
      

  5.   

    回复人: foxmail(萧遥) ( ) 信誉:140  2003-4-1 21:30:43  得分:0   
    profile可以看程序中各函数的执行时间
    project->setting->link->enable profiling
    然后build->profile
    问:在哪儿显示时间?