bear : a set of statistics functions for erlang