RTX interview question

How would you debug CPU thrashing ?