qt 获取程序的运行时间

    QTime time;
    time.start();
    /*
    代码程序运行
    */
    qDebug()<<"代码程序运行时间:"+time.elapsed();

  

posted @ 2016-04-20 14:43  cppstudy  阅读(3452)  评论(0编辑  收藏  举报