add performance counter