Move RunningStat from profiler/ to libs/