VX(C): Add the performance counter factory and its unit tests.