Index: third_party/power_gadget/PowerGadgetLib.cpp |
diff --git a/third_party/power_gadget/PowerGadgetLib.cpp b/third_party/power_gadget/PowerGadgetLib.cpp |
index d7f20f1c556218d4f057a8438d8a4c7e908819e4..170085e37d6a1f7998017b75a697c60b7fca4ff2 100644 |
--- a/third_party/power_gadget/PowerGadgetLib.cpp |
+++ b/third_party/power_gadget/PowerGadgetLib.cpp |
@@ -104,6 +104,7 @@ static bool GetLibraryLocation(wstring& strLocation) |
CIntelPowerGadgetLib::CIntelPowerGadgetLib(void) : |
pInitialize(NULL), |
pGetNumNodes(NULL), |
+ pGetNumMsrs(NULL), |
pGetMsrName(NULL), |
pGetMsrFunc(NULL), |
pGetIAFrequency(NULL), |
@@ -117,8 +118,7 @@ CIntelPowerGadgetLib::CIntelPowerGadgetLib(void) : |
pGetBaseFrequency(NULL), |
pGetPowerData(NULL), |
pStartLog(NULL), |
- pStopLog(NULL), |
- pGetNumMsrs(NULL) |
+ pStopLog(NULL) |
{ |
wstring strLocation; |
if (GetLibraryLocation(strLocation) == false) |