Lines Matching defs:MemProfData
310 auto [Iter, Inserted] = MemProfData.Records.insert({Id, NewRecord});
322 auto [Iter, Inserted] = MemProfData.Frames.insert({Id, Frame});
339 auto [Iter, Inserted] = MemProfData.CallStacks.insert({CSId, CallStack});
363 if (MemProfData.Frames.empty())
364 MemProfData.Frames = std::move(Incoming.Frames);
370 if (MemProfData.CallStacks.empty())
371 MemProfData.CallStacks = std::move(Incoming.CallStacks);
378 if (MemProfData.Records.empty() && !MemprofGenerateRandomHotness)
379 MemProfData.Records = std::move(Incoming.Records);
461 MemProfData.Frames.reserve(IPW.MemProfData.Frames.size());
462 for (auto &[FrameId, Frame] : IPW.MemProfData.Frames) {
469 MemProfData.CallStacks.reserve(IPW.MemProfData.CallStacks.size());
470 for (auto &[CSId, CallStack] : IPW.MemProfData.CallStacks) {
475 MemProfData.Records.reserve(IPW.MemProfData.Records.size());
476 for (auto &[GUID, Record] : IPW.MemProfData.Records) {
673 memprof::IndexedMemProfData &MemProfData,
689 writeMemProfRecords(OS, MemProfData.Records, &Schema, memprof::Version2);
692 uint64_t FrameTableOffset = writeMemProfFrames(OS, MemProfData.Frames);
696 writeMemProfCallStacks(OS, MemProfData.CallStacks);
721 memprof::IndexedMemProfData &MemProfData,
735 memprof::computeFrameHistogram(MemProfData.CallStacks);
736 assert(MemProfData.Frames.size() == FrameHistogram.size());
739 writeMemProfFrameArray(OS, MemProfData.Frames, FrameHistogram);
746 writeMemProfCallStackArray(OS, MemProfData.CallStacks,
752 writeMemProfRecords(OS, MemProfData.Records, &Schema, memprof::Version3,
774 memprof::IndexedMemProfData &MemProfData,
779 return writeMemProfV2(OS, MemProfData, MemProfFullSchema);
781 return writeMemProfV3(OS, MemProfData, MemProfFullSchema);
957 if (auto E = writeMemProf(OS, MemProfData, MemProfVersionRequested,