add simple performance counter