Lines Matching defs:counter1
6097 size_t counter1 = heap->NewSpaceAllocationCounter();
6102 CHECK_EQ(kSize, counter2 - counter1);
6124 size_t counter1 = heap->OldGenerationAllocationCounter();
6131 CHECK_LE(kSize, counter2 - counter1);
6159 size_t counter1 = 1000;
6160 tracer->SampleAllocation(time1, counter1, 0);
6166 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput);
6171 CHECK_EQ((counter3 - counter1) / (time3 - time1), throughput);
6182 size_t counter1 = 1000;
6183 tracer->SampleAllocation(time1, counter1, 0);
6189 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput);
6194 CHECK_EQ((counter3 - counter1) / (time3 - time1), throughput);
6295 size_t counter1 = 1000;
6296 tracer->SampleAllocation(time1, 0, counter1);
6302 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput);
6308 CHECK_EQ((counter3 - counter1) / (time3 - time1), throughput);
6319 size_t counter1 = 1000;
6320 tracer->SampleAllocation(time1, counter1, counter1);
6325 CHECK_EQ(2 * (counter2 - counter1) / (time2 - time1), throughput);
6330 CHECK_EQ(2 * (counter3 - counter1) / (time3 - time1), throughput);