Lines Matching refs:Counters
59 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter()
64 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter()
69 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter()
78 void PGOCtxProfileWriter::writeCounters(ArrayRef<uint64_t> Counters) { in writeCounters() argument
80 Writer.EmitVBR(PGOCtxProfileRecords::Counters, VBREncodingBits); in writeCounters()
81 Writer.EmitVBR(Counters.size(), VBREncodingBits); in writeCounters()
82 for (uint64_t C : Counters) in writeCounters()
174 std::vector<uint64_t> Counters; member
198 auto AllocSize = ctx_profile::ContextNode::getAllocSize(DC.Counters.size(), in createNode()
202 auto *Ret = new (Mem) ctx_profile::ContextNode(DC.Guid, DC.Counters.size(), in createNode()
204 std::memcpy(Ret->counters(), DC.Counters.data(), in createNode()
205 sizeof(uint64_t) * DC.Counters.size()); in createNode()
230 IO.mapRequired("Counters", SCR.Counters); in mapping()
282 Unhandled.Counters = U.second; in createCtxProfFromYAML()
291 for (const auto &[Guid, Counters] : SPR.FlatProfiles) in createCtxProfFromYAML()
292 Writer.writeFlat(Guid, Counters.data(), Counters.size()); in createCtxProfFromYAML()