void HwmonDriver::start() { for (DriverCounter *counter = getCounters(); counter != NULL; counter = counter->getNext()) { if (!counter->isEnabled()) { continue; } counter->read(); } }
void DiskIODriver::start() { doRead(); // Initialize previous values for (DriverCounter *counter = getCounters(); counter != NULL; counter = counter->getNext()) { if (!counter->isEnabled()) { continue; } counter->read(); } }
void NetDriver::start() { if (!doRead()) { logg->logError("Unable to read network stats"); handleException(); } // Initialize previous values for (DriverCounter *counter = getCounters(); counter != NULL; counter = counter->getNext()) { if (!counter->isEnabled()) { continue; } counter->read(); } }