[llvm] [memprof] Move getFullSchema and getHotColdSchema outside PortableMemInfoBlock (PR #90103)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 11:55:30 PDT 2024
================
@@ -44,6 +44,13 @@ enum class Meta : uint64_t {
using MemProfSchema = llvm::SmallVector<Meta, static_cast<int>(Meta::Size)>;
+// Returns the full schema currently in use.
+MemProfSchema getFullSchema();
+
+// Returns the schema consisting of the fields currently consumed by the
----------------
snehasish wrote:
Lets make this comment a little more future proof, how about "Returns the schema consisting of the fields used for hot cold memory hinting."
https://github.com/llvm/llvm-project/pull/90103
More information about the llvm-commits
mailing list