[#llvm-extractProfTotalWeight-0b] = xref:llvm.adoc[llvm]::extractProfTotalWeight :relfileprefix: ../ :mrdocs: Retrieve the total of all weights from MD_prof data. == Synopsis Declared in `<llvm/IR/ProfDataUtils.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool extractProfTotalWeight( xref:llvm/MDNode.adoc[MDNode] const* ProfileData, uint64_t& TotalWeights); ---- == Return Value True on success with profile total weights filled in. False if no metadata was found. == Parameters [cols="1,4"] |=== | Name| Description | *ProfileData* | The profile data to extract the total weight from | *TotalWeights* [out] | input variable to fill with total weights |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#