Fork used to implement performance counters