Performance analysis of idle programs