[feature] stat events for xpoll
[feature] mstats helper function