fix static duration, and unused function
Merge pull request #15 from uber/static_stathasher

fix static duration, and unused function
teach stats_log how to do dynamic memory allocation