Lines Matching full:samples
70 /* trigger exactly two samples */ in trigger_samples()
123 /* poll for samples */ in test_ringbuf()
130 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf()
137 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
154 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf()
184 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
189 /* produce new samples, no notification should be triggered, because in test_ringbuf()
199 /* still no samples, because consumer is behind */ in test_ringbuf()
201 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
224 * samples, so consume them here to collect all the samples in test_ringbuf()
229 /* 3 rounds, 2 samples each */ in test_ringbuf()
231 CHECK(cnt != 6, "cnt", "exp %d samples, got %d\n", 6, cnt); in test_ringbuf()