Lines Matching defs:sample_n_per_event
115 static uint64_t *sample_n_per_event[SAMPLE_MODE_NUM]; /* [nevent] */
380 sample_n_per_event[mode] = ecalloc(1,
381 sizeof(typeof(*sample_n_per_event[mode])) * nevent);
413 memset(sample_n_per_event[mode], 0,
414 sizeof(typeof(*sample_n_per_event[mode])) * nevent);
484 sample_n_per_event[mode][eventid]++;
655 sample_n_per_event[opt_mode][i]);
695 if (sample_n_per_event[opt_mode][i] >= nsample_total) {
697 sample_n_per_event[opt_mode][i] / nsample_total);
700 sample_n_per_event[opt_mode][i] / nsample_total);
703 sample_n_per_event[opt_mode][i]);