Searched refs:MAX_CPU_SAMPLES (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_processor_tbl.c66 double samples[MAX_CPU_SAMPLES];
67 long states[MAX_CPU_SAMPLES][CPUSTATES];
108 if (e->sample_cnt == MAX_CPU_SAMPLES)
109 oldest = (e->cur_sample_idx + 1) % MAX_CPU_SAMPLES;
135 * Samples are stored in a ringbuffer from 0..(MAX_CPU_SAMPLES-1)
142 e->cur_sample_idx = (e->cur_sample_idx + 1) % MAX_CPU_SAMPLES;
147 if (e->sample_cnt > MAX_CPU_SAMPLES)
148 e->sample_cnt = MAX_CPU_SAMPLES;
320 * This function is called MAX_CPU_SAMPLES times per minute to collect the
344 * to get MAX_CPU_SAMPLES pe
[all...]
H A Dhostres_snmp.h96 #define MAX_CPU_SAMPLES 4 macro

Completed in 90 milliseconds