updated "performance counter" sample