Turbostat: Refactor migrate CPU before get_MSR
authorVincent Brillault <git@lerya.net>
Sat, 23 Aug 2014 07:32:04 +0000 (09:32 +0200)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100)
commit8ba5c8afdfab1098e1400669269eccb8ea0a44c4
treea6f15b5c3c2be97f1a61a48a5c159f2e3475bcc8
parent899a5b70ba79ceea8f7db3c63871ad0d8496daa8
Turbostat: Refactor migrate CPU before get_MSR

In two out of three "get_msr" calls, there is a CPU migration, which
does not seem to be used by something else (in one case, it was used by
the rdtsc call).
Move the migrate call directly into the open_msr function
src/turbostat.c