标签:
开启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
标签:
原文地址:http://www.cnblogs.com/cutepig/p/4389964.html