Move RunningStat from profiler/ to libs/
authorOri Livneh <ori@wikimedia.org>
Fri, 3 Jan 2014 06:05:07 +0000 (22:05 -0800)
committerOri Livneh <ori@wikimedia.org>
Fri, 3 Jan 2014 06:52:37 +0000 (22:52 -0800)
commit4d23c15a6a35854cedbf50953b25542b0c278247
tree1faa3d8cfb64bff779968a317c10067632d04e5b
parent681607e55b44860cf5dc985128daca8b7bda8ae0
Move RunningStat from profiler/ to libs/

There is nothing about the class that mandates it be used exclusively for
profiling, or exclusively within the context of MediaWiki. The functionality it
provides is generic. So move it to libs/ to make it easier to discover & reuse.

Change-Id: Iac8f2f8e1c3231ebe76318d72cf6225e25a7b891
includes/AutoLoader.php
includes/libs/RunningStat.php [new file with mode: 0644]
includes/profiler/RunningStat.php [deleted file]
tests/phpunit/includes/RunningStatTest.php [deleted file]
tests/phpunit/includes/libs/RunningStatTest.php [new file with mode: 0644]