iproto: account memory used by network buffers
Add function iproto_mem_used() that returns the total amount of memory allocated for storing input and output buffers. It will be used by box.info.memory() implementation to show aggregated network statistics. Note, to account memory used by output buffers, we have to introduce a separate slab cache (currently, the cache of the tx cord is used). Needed for #934
Loading
Please register or sign in to comment