Implement xcb_total_read() and xcb_total_written().

Merged Sam Varshavchik requested to merge sam.varshavchik/libxcb:total-read-and-written into master

Returns raw byte counts that have been read or written to the xcb_connection_t.

I found it very useful when developing a high level widget toolkit, to track down inefficient/sub-optimum code that generates a lot of X protocol traffic.

Signed-off-by: Sam Varshavchik

Merge request reports