Jump to content

Metrics icue for aida64


paul121114

Recommended Posts

how to retrieve metrics on my computer an icue metrics extraction in c++

i create little code c++

#include <iostream>
#include <Windows.h>
#include <CUESDK.h>

int main() {
    // Initialize the iCUE SDK
    CUESDK::CorsairPerformProtocolHandshake();
    CUESDK::CorsairSetLayerPriority(CORSIAR_SDK_LAYER_PRIORITY_HIGH);

    // Retrieve the pump metrics
    CUESDK::CorsairCoolingUnitInfo pumpInfo{};
    bool pumpResult = CUESDK::CorsairGetCoolingUnitInfo(CUESDK::CCCOOLINGUNITID::CCPUMP, &pumpInfo);

    if (pumpResult) {
        std::cout << "Pump Temperature: " << pumpInfo.temperature << "C" << std::endl;
        std::cout << "Pump Fan RPM: " << pumpInfo.fanRPM << std::endl;
        std::cout << "Pump Coolant Flow: " << pumpInfo.coolantFlow << std::endl;
    } else {
        std::cout << "Failed to retrieve pump metrics." << std::endl;
    }

    // Release the iCUE SDK
    CUESDK::CorsairReleaseControl(CUESDK::CCCOOLINGUNITID::CCPUMP);
    CUESDK::CorsairPerformProtocolHandshake();

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...