*/
virtual bool init(IOService *reportingService,
IOReportChannelType channelType,
- IOReportUnits unit);
+ IOReportUnit unit);
public:
static IOReportLegendEntry* legendWith(OSArray *channelIDs,
OSArray *channelNames,
IOReportChannelType channelType,
- IOReportUnits unit);
+ IOReportUnit unit);
// protected instance variables (want to get rid of these)
protected:
// private instance variables
private:
- IOReportUnits _unit;
+ IOReportUnit _unit;
int _enabled; // 'enabled' if _enabled > 0
*/
static IOSimpleReporter* with(IOService *reportingService,
IOReportCategories categories,
- IOReportUnits unit);
+ IOReportUnit unit);
/*! @function IOSimpleReporter::setValue
@abstract Thread safely set a channel's value
*/
virtual bool initWith(IOService *reportingService,
IOReportCategories categories,
- IOReportUnits unit);
+ IOReportUnit unit);
private:
static IOStateReporter* with(IOService *reportingService,
IOReportCategories categories,
int nstates,
- IOReportUnits unit = kIOReportUnitHWTicks);
+ IOReportUnit unit = kIOReportUnitHWTicks);
/*! @function IOStateReporter::setStateID
@abstract Assign a non-default ID to a state
*/
virtual bool initWith(IOService *reportingService,
IOReportCategories categories,
- int16_t nstates, IOReportUnits unit);
+ int16_t nstates, IOReportUnit unit);
/*! @function IOStateReporter::handleSwapPrepare
IOReportCategories categories,
uint64_t channelID,
const char *channelName,
- IOReportUnits unit,
+ IOReportUnit unit,
int nSegments,
IOHistogramSegmentConfig *config);
IOReportCategories categories,
uint64_t channelID,
const OSSymbol *channelName,
- IOReportUnits unit,
+ IOReportUnit unit,
int nSegments,
IOHistogramSegmentConfig *config);