91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

跟蹤asio日志

發布時間:2020-08-04 15:06:07 來源:網絡 閱讀:1038 作者:FrankNie0101 欄目:編程語言

跟蹤asio日志
#define BOOST_ASIO_ENABLE_HANDLER_TRACKING
#include <boost/asio.hpp>
./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
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:

<tag>|<timestamp>|<action>|<description>

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

The <timestamp> is seconds and microseconds from 1 Jan 1970 UTC.

The <action> takes one of the following forms:

n

The program entered the handler number n. The <description> shows the arguments to the handler. 

<n

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 <description> shows what asynchronous operation was started. 

n

The handler number n performed some other operation. The <description> 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 <description> shows a synchronous or asynchronous operation, the format is <object-type>@<pointer>.<operation>. 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.

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

越西县| 苗栗市| 哈巴河县| 酒泉市| 桦南县| 东山县| 唐河县| 江门市| 济宁市| 米泉市| 兴仁县| 建宁县| 甘泉县| 泸西县| 灵石县| 瓮安县| 大宁县| 仪陇县| 闵行区| 南乐县| 莎车县| 连江县| 闽侯县| 龙南县| 营山县| 策勒县| 新巴尔虎右旗| 九台市| 翁源县| 边坝县| 诸城市| 梁山县| 闸北区| 靖边县| 江口县| 缙云县| 石泉县| 沈丘县| 东乌珠穆沁旗| 教育| 乐山市|