/// <summary>
 /// Send Raw PECI request to power cap CPU.
 /// </summary>
 internal SendRawPeciRequest(PeciTargetCpu Cpu, MsrTargetPowerLimit powerlimit, ushort watts, byte correctionTime)
 {
     this.peciAddress = (byte)Cpu;                                        // PECI Client Address and interface selection
     this.writeLenght = 0x0A;                                             // Write Length (part of PECI standard header)
     this.readLenght  = 0x01;                                             // Read Length (part of PECI standard header)
     this.peciCommand = GetMsrPayload(powerlimit, watts, correctionTime); // PECI Payload.
 }
Пример #2
0
 /// <summary>
 /// Send Raw PECI request to power cap CPU.
 /// </summary>
 internal SendRawPeciRequest(PeciTargetCpu Cpu, MsrTargetPowerLimit powerlimit, ushort watts, byte correctionTime)
 {
     this.peciAddress = (byte)Cpu; // PECI Client Address and interface selection
     this.writeLenght = 0x0A;      // Write Length (part of PECI standard header)
     this.readLenght = 0x01;       // Read Length (part of PECI standard header)
     this.peciCommand = GetMsrPayload(powerlimit, watts, correctionTime); // PECI Payload.
 }