#ifndef CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_IA_WIN_H_
#define CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_IA_WIN_H_
#include "base/basictypes.h"
#include "content/browser/power_profiler/power_data_provider.h"
#include "third_party/power_gadget/PowerGadgetLib.h"
namespace content {
class PowerDataProviderIA : public PowerDataProvider {
public:
PowerDataProviderIA();
virtual ~PowerDataProviderIA();
bool Initialize();
virtual PowerEventVector GetData() OVERRIDE;
private:
CIntelPowerGadgetLib energy_lib_;
int sockets_number_;
int power_msr_ids_[PowerEvent::ID_COUNT];
bool is_open_;
DISALLOW_COPY_AND_ASSIGN(PowerDataProviderIA);
};
}
#endif