Reputation: 73
I want to output the number of context switches that are performed by the windows OS while executing my program.
Upvotes: 3
Views: 1167
Reputation: 41
You can use Performance-counter for this purpose.
From : http://msdn.microsoft.com/en-us/library/aa373083%28VS.85%29.aspx
You can view context switch data in two ways:
Upvotes: 1