Lines Matching full:contexts

30 // information from the indexing step for all contexts (especially for testing),
33 "memprof-keep-all-not-cold-contexts", cl::init(false), cl::Hidden,
34 cl::desc("Keep all non-cold contexts (increases cloning overheads)"));
40 // Discard non-cold contexts if they overlap with much larger cold contexts,
41 // specifically, if all contexts reaching a given callsite are at least this
43 // to expose the cold contexts when they greatly dominate non-cold contexts.
47 "contexts"));
49 // Enable saving context size information for largest cold contexts, which can
50 // be used to flag contexts for more aggressive cloning and reporting.
211 // requested identification of contexts above a percentage of the max, see in createMIBNode()
251 // on options that enable filtering out some NotCold contexts.
285 // discard all non-cold contexts so do not need any of the later pruning in saveFilteredNewMIBNodes()
286 // handling. We can simply copy over all the cold contexts and return early. in saveFilteredNewMIBNodes()
291 // Only append cold contexts. in saveFilteredNewMIBNodes()
308 // Prune unneeded NotCold contexts, taking advantage of the fact in saveFilteredNewMIBNodes()
309 // that we later will only clone Cold contexts, as NotCold is the allocation in saveFilteredNewMIBNodes()
310 // default. We only need to keep as metadata the NotCold contexts that in saveFilteredNewMIBNodes()
312 // need to clone. For example, assume we add the following contexts to the in saveFilteredNewMIBNodes()
325 // It is sufficient to prune all but one not-cold contexts (either 1,2,5 or in saveFilteredNewMIBNodes()
330 // contexts kept for a deeper caller, which will have a context length larger in saveFilteredNewMIBNodes()
348 // longer overlapping contexts; in saveFilteredNewMIBNodes()
352 // Only keep cold contexts and first (longest non-cold context). in saveFilteredNewMIBNodes()
356 // Keep any already kept for longer contexts. in saveFilteredNewMIBNodes()
360 // were no longer contexts. in saveFilteredNewMIBNodes()
375 // Recursive helper to trim contexts and create metadata nodes.
395 // We don't have a single allocation for all the contexts sharing this prefix, in buildMIBNodes()
435 // contexts with different allocation types being merged. In that case, we in buildMIBNodes()
481 // If there were any hot allocation contexts, the Alloc trie node would have in buildAndAttachMIBMetadata()
483 // contexts, they should be converted to NotCold. This happens in the cloning in buildAndAttachMIBMetadata()
551 // leaf contexts. For now, keep the first one. in getMergedMemProfMetadata()
559 // carrying multiple contexts. For now, keep the first one. in getMergedCallsiteMetadata()