Lines Matching defs:st_queue
243 * @st_queue Structure where stats will be saved.
246 * @st_queue Structure with statistics.
249 void read_loadavg(struct stats_queue *st_queue)
260 &load_tmp[0], &st_queue->load_avg_1,
261 &load_tmp[1], &st_queue->load_avg_5,
262 &load_tmp[2], &st_queue->load_avg_15,
263 &st_queue->nr_running,
264 &st_queue->nr_threads);
268 st_queue->load_avg_1 += load_tmp[0] * 100;
269 st_queue->load_avg_5 += load_tmp[1] * 100;
270 st_queue->load_avg_15 += load_tmp[2] * 100;
272 if (st_queue->nr_running) {
274 st_queue->nr_running--;
285 sscanf(line + 14, "%lu", &st_queue->procs_blocked);