}
else if (a->id == A_NET_SOFT) {
- /* Create metrics for a_NET_SOFT */
+ /* Create metrics for A_NET_SOFT */
pmiAddMetric("network.softnet.processed",
pmiID(60, 57, 0), PM_TYPE_U64, PM_INDOM_NULL, PM_SEM_COUNTER,
pmiUnits(0, 0, 1, 0, 0, PM_COUNT_ONE));
printf("%s; %s; %s;", timestr,
pfield(a->hdr_line, FIRST), stc_cpuall_irq->irq_name);
- /* In reaw mode, offline CPU (in datafile) are always displayed */
+ /* In raw mode, offline CPU (in datafile) are always displayed */
for (c = 0; (c < a->nr[curr]) && (c < a->bitmap->b_size + 1); c++) {
stc_cpu_irq = (struct stats_irq *) ((char *) a->buf[curr] + c * a->msize * a->nr2
/*
* The size of a->buf[...] CPU structure may be different from the default
- * sizeof(struct stats_pwr_cpufreq) value if data have been read from a file!
+ * sizeof(struct stats_softnet) value if data have been read from a file!
* That's why we don't use a syntax like:
* ssnc = (struct stats_softnet *) a->buf[...] + i;
*/