Lines Matching full:samples
75 /* trigger exactly two samples */
127 /* trigger exactly two samples */
256 /* poll for samples */
263 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt);
270 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt);
287 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt);
317 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt);
322 /* produce new samples, no notification should be triggered, because
332 /* still no samples, because consumer is behind */
334 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt);
357 * samples, so consume them here to collect all the samples
366 /* 3 rounds, 2 samples each */
368 CHECK(cnt != 6, "cnt", "exp %d samples, got %d\n", 6, cnt);
385 * Test ring_buffer__consume_n() by producing N_TOT_SAMPLES samples in the ring
428 /* Produce N_TOT_SAMPLES samples in the ring buffer by calling getpid() */
433 /* Consume all samples from the ring buffer in batches of N_SAMPLES */