mkatanbaf opened a new pull request, #11232:
URL: https://github.com/apache/tvm/pull/11232

   This adds logging to rpc communications, by adding a wrapper around 
"RPCChannel". The wrapper, "RPCChannelLogging", has a "NanoRPCListener" that 
only listens to ongoing communication and log them in a human readable way. 
"NanoRPCListener" uses a "MinRPCSniffer" to decode the rpc commands. 
"MinRPCSniffer" is based on "MinRPCServer" and shares the same code to decode 
the packets, but replaces the execution and return handling with no-operation 
functions. The log is disabled by default for backward compatibility, and a 
test case ("test_rpc_simple_wlog") is added to the "test_runtime_rpc.py" with 
logging enabled.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to