Metering power in data center