示例#1
0
文件: mon_temp.c 项目: AsherBond/core
void MonTempGatherData(double *cf_this)
{
    if (ACPI && GetAcpi(cf_this))
    {
        return;
    }

    if (LMSENSORS && GetLMSensors(cf_this))
    {
        return;
    }
}
示例#2
0
void MonTempGatherData(double *cf_this)
{
    CfDebug("GatherSensorData()\n");

#if defined(__linux__)
    if (ACPI && GetAcpi(cf_this))
    {
        return;
    }

    if (LMSENSORS && GetLMSensors(cf_this))
    {
        return;
    }
#endif
}