Home | History | Annotate | Download | only in ProfileData

Lines Matching refs:Counter

32 void PrintTo(const Counter &C, ::std::ostream *os) {
38 *os << "Counter " << C.getCounterID();
144 void addCMR(Counter C, StringRef File, unsigned LS, unsigned CS, unsigned LE,
219 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1);
220 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2);
221 addCMR(Counter::getZero(), "foo", 3, 1, 3, 4);
222 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8);
223 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4);
251 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1);
279 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1);
297 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5);
300 addCMR(Counter::getCounter(0), "bar", 2, 2, 6, 6);
323 addCMR(Counter::getCounter(1), "foo", 10, 1, 10, 2);
324 // This starts earlier in "foo", so the expansion should get its counter.
325 addCMR(Counter::getCounter(2), "foo", 1, 1, 20, 1);
333 ASSERT_EQ(Counter::getCounter(2), Output.Regions[2].Count);
342 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
343 addCMR(Counter::getCounter(1), "file1", 1, 1, 4, 7);
344 addCMR(Counter::getCounter(2), "file1", 5, 8, 9, 1);
345 addCMR(Counter::getCounter(3), "file1", 10, 10, 11, 11);
362 addCMR(Counter::getZero(), "file1", 1, 2, 3, 4);
374 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
375 addCMR(Counter::getCounter(1), "file1", 1, 1, 4, 7);
391 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
392 addCMR(Counter::getCounter(1), "file1", 3, 3, 4, 4);
393 addCMR(Counter::getCounter(2), "file1", 3, 3, 4, 4);
411 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
412 addCMR(Counter::getCounter(1), "file1", 1, 1, 9, 9);
413 addCMR(Counter::getCounter(2), "file1", 3, 3, 5, 5);
434 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
435 addCMR(Counter::getCounter(1), "file1", 3, 3, 4, 4);
436 addCMR(Counter::getCounter(1), "include1", 6, 6, 7, 7);
455 addCMR(Counter::getCounter(1), "include1", 1, 1, 1, 10);
456 addCMR(Counter::getCounter(2), "include2", 1, 1, 1, 10);
457 addCMR(Counter::getCounter(0), "file", 1, 1, 5, 5);
477 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
492 addCMR(Counter::getCounter(0), "", 1, 1, 9, 9);
509 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);
513 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);
528 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);