Searched refs:cp_diff (Results 1 – 2 of 2) sorted by relevance
50 static int64_t **cp_diff; variable69 cp_old[n], cp_diff[n]); in timer_cpu()94 cp_diff = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *)); in timer_init()96 cp_time == NULL || cp_old == NULL || cp_diff == NULL) in timer_init()101 cp_diff[i] = calloc(CPUSTATES, sizeof(int64_t)); in timer_init()103 cp_diff[i] == NULL) in timer_init()
93 static struct cpustats *cp_diff; variable200 cp_diff = calloc(ncpu, sizeof(*cp_diff)); in machine_init()201 if (cp_time == NULL || cp_old == NULL || cp_diff == NULL) in machine_init()266 cp_old[i].cs_time, cp_diff[i].cs_time); in get_system_info()