Lines Matching refs:index
159 unsigned index = measure->base.index++;
164 .offset = index * sizeof(uint64_t) },
170 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[index]);
199 unsigned index = measure->base.index++;
200 assert(index % 2 == 1);
205 .offset = index * sizeof(uint64_t) },
208 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[index]);
269 if (measure->base.index % 2) {
275 if (measure->base.index == config->batch_size) {
330 measure->base.index = 0;
397 if (base->index == 0)
405 if (base->index %2 == 1) {
413 base->timestamps[base->index - 1] = 0;
451 if (measure->base.index % 2 == 0)
475 if (filtering && measure->base.index % 2 == 1) {
509 if (measure->base.index % 2 == 1)
512 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[measure->base.index]);