Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 8 of 8) sorted by relevance

/art/runtime/base/
Dtiming_logger.cc236 size_t counts[2] = { 0 }; in Verify() local
241 ++counts[timings_[i].IsStartTiming() ? 0 : 1]; in Verify()
243 CHECK_EQ(counts[0], counts[1]) << "Number of StartTiming and EndTiming doesn't match"; in Verify()
/art/runtime/arch/
Dstub_test.cc721 size_t counts[kNumberOfLocks]; in TestUnlockObject() local
727 counts[i] = 0; in TestUnlockObject()
743 if (counts[index] == 0) { in TestUnlockObject()
750 if (counts[index] == 0) { in TestUnlockObject()
752 } else if (counts[index] == kThinLockLoops) { in TestUnlockObject()
762 counts[index]++; in TestUnlockObject()
766 counts[index]--; in TestUnlockObject()
778 EXPECT_EQ(counts[index], info.entry_count_) << index; in TestUnlockObject()
780 if (counts[index] > 0) { in TestUnlockObject()
782 EXPECT_EQ(counts[index] - 1, lock_iter.ThinLockCount()); in TestUnlockObject()
[all …]
/art/compiler/dex/quick/
Dralloc_util.cc1154 RefCounts* counts = loc.fp ? fp_counts : core_counts; in CountRefs() local
1161 counts[p_map_idx].count += use_count; in CountRefs()
1164 counts[p_map_idx + num_regs].count += use_count; in CountRefs()
1168 counts[p_map_idx].count += use_count; in CountRefs()
1175 counts[p_map_idx].count += use_count; in CountRefs()
/art/runtime/jdwp/
Djdwp_handler.cc450 std::vector<uint64_t> counts; in VM_InstanceCounts() local
451 JdwpError rc = Dbg::GetInstanceCounts(class_ids, counts); in VM_InstanceCounts()
456 expandBufAdd4BE(pReply, counts.size()); in VM_InstanceCounts()
457 for (size_t i = 0; i < counts.size(); ++i) { in VM_InstanceCounts()
458 expandBufAdd8BE(pReply, counts[i]); in VM_InstanceCounts()
/art/runtime/gc/
Dheap.cc1463 …eCounter(const std::vector<mirror::Class*>& classes, bool use_is_assignable_from, uint64_t* counts) in InstanceCounter() argument
1465 : classes_(classes), use_is_assignable_from_(use_is_assignable_from), counts_(counts) { in InstanceCounter()
1491 uint64_t* counts) { in CountInstances() argument
1495 InstanceCounter counter(classes, use_is_assignable_from, counts); in CountInstances()
Dheap.h278 uint64_t* counts)
/art/runtime/
Ddebugger.h344 std::vector<uint64_t>& counts)
Ddebugger.cc1023 std::vector<uint64_t>& counts) in GetInstanceCounts() argument
1028 counts.clear(); in GetInstanceCounts()
1036 counts.push_back(0); in GetInstanceCounts()
1038 heap->CountInstances(classes, false, &counts[0]); in GetInstanceCounts()