Lines Matching refs:cp_time
326 stats_s4.cp_time.cp_time_len = CPU_STATES;
327 if (stats_s4.cp_time.cp_time_val == NULL)
328 stats_s4.cp_time.cp_time_val =
329 malloc(stats_s4.cp_time.cp_time_len * sizeof (int));
330 stats_s2.cp_time[RSTAT_CPU_USER] =
331 stats_s3.cp_time[RSTAT_CPU_USER] =
332 stats_s4.cp_time.cp_time_val[RSTAT_CPU_USER] =
334 stats_s2.cp_time[RSTAT_CPU_NICE] =
335 stats_s3.cp_time[RSTAT_CPU_NICE] =
336 stats_s4.cp_time.cp_time_val[RSTAT_CPU_NICE] =
338 stats_s2.cp_time[RSTAT_CPU_SYS] =
339 stats_s3.cp_time[RSTAT_CPU_SYS] =
340 stats_s4.cp_time.cp_time_val[RSTAT_CPU_SYS] =
342 stats_s2.cp_time[RSTAT_CPU_IDLE] =
343 stats_s3.cp_time[RSTAT_CPU_IDLE] =
344 stats_s4.cp_time.cp_time_val[RSTAT_CPU_IDLE] =
353 fprintf(stderr, "cp_time: %d %d %d %d\n",
354 stats_s3.cp_time[RSTAT_CPU_USER],
355 stats_s3.cp_time[RSTAT_CPU_NICE],
356 stats_s3.cp_time[RSTAT_CPU_SYS],
357 stats_s3.cp_time[RSTAT_CPU_IDLE]);