网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

跟踪asio日志

跟踪asio日志
#define BOOST_ASIO_ENABLE_HANDLER_TRACKING
#include
./a.out 2>out.log
sudo apt-get install graphviz
perl handlerviz.pl < out.log | dot -Tpng > out.png

创新互联专注于田东网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供田东营销型网站建设,田东网站制作、田东网页设计、田东网站官网定制、小程序开发服务,打造田东网络公司原创品牌,更为您提供田东网站排名全网营销落地服务。

@asio|1528964168.087468|01|signal_set@0x7ffc87552888.async_wait
@asio|1528964168.087629|0
2|signal_set@0x7ffc87552888.async_wait@asio|1528964181.199519|>1|ec=system:0,signal_number=10
br/>@asio|1528964181.199519|>1|ec=system:0,signal_number=10
2|ec=system:0,signal_number=10
br/>@asio|1528964181.199628|>2|ec=system:0,signal_number=10
@asio|1528964181.199717|0|signal_set@0x7ffc87552888.cancel

跟踪asio日志

out.log格式解释,请参考 https://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/overview/core/handler_tracking.html

摘抄过来:
Each line is of the form:

|||

The is always @asio, and is used to identify and extract the handler tracking messages from the program output.

The is seconds and microseconds from 1 Jan 1970 UTC.

The takes one of the following forms:

n

The program entered the handler number n. The  shows the arguments to the handler. 

The program left handler number n. 

!n

The program left handler number n due to an exception. 

~n

The handler number n was destroyed without having been invoked. This is usually the case for any unfinished asynchronous operations when the io_service is destroyed. 

n*m

The handler number n created a new asynchronous operation with completion handler number m. The  shows what asynchronous operation was started. 

n

The handler number n performed some other operation. The  shows what function was called. Currently only close() and cancel() operations are logged, as these may affect the state of pending asynchronous operations. 

Where the shows a synchronous or asynchronous operation, the format is @.. For handler entry, it shows a comma-separated list of arguments and their values.

As shown above, Each handler is assigned a numeric identifier. Where the handler tracking output shows a handler number of 0, it means that the action was performed outside of any handler.


当前标题:跟踪asio日志
文章位置:http://bjjierui.cn/article/pidshp.html

其他资讯