Lines Matching refs:nr_events
59 unsigned long nr_events;
123 static unsigned long nr_events;
237 unsigned long idx = task->nr_events;
243 task->nr_events++;
244 size = sizeof(struct sched_atom *) * task->nr_events;
255 if (!task->nr_events)
258 return task->atoms[task->nr_events - 1];
364 printf("task %6ld (%20s:%10ld), nr_events: %ld\n",
365 task->nr, task->comm, task->pid, task->nr_events);
485 for (i = 0; i < this_task->nr_events; i++) {
1690 nr_events = session->hists.stats.nr_events[0];
1692 nr_lost_chunks = session->hists.stats.nr_events[PERF_RECORD_LOST];
1706 if (nr_lost_events && nr_events) {
1708 (double)nr_lost_events/(double)nr_events*100.0,
1709 nr_lost_events, nr_events, nr_lost_chunks);