码迷,mamicode.com
首页 > 其他好文 > 详细

task optimization之superglue分析

时间:2015-04-03 15:00:31      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

开启logging (例子F:\wamp\www\git_repos\GitHub\GeneralUtility\superglue-master\examples\src\logging.cpp)

#include "sg/option/instr_trace.hpp"

定义option

struct MyOptions : public DefaultOptions<MyOptions> {
    typedef Enable TaskName;
    typedef Trace<MyOptions> Instrumentation;
};

dump到文件

Trace<MyOptions>::dump("execution.log");

 

图形化显示

F:\sw\Python25_2>path %path%;F:\sw\Python25_2\Lib\site-packages\wx-2.8-msw-ansi\
wx

F:\sw\Python25_2>python F:\wamp\www\git_repos\GitHub\GeneralUtility\superglue-ma
ster\scripts\drawsched.py F:\wamp\www\git_repos\GitHub\GeneralUtility\superglue-
master\vsproj\vsproj\execution.log

 

task optimization之superglue分析

标签:

原文地址:http://www.cnblogs.com/cutepig/p/4389964.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!