From: Brian Sullivan Date: Fri, 24 Mar 2017 23:29:27 +0000 (-0700) Subject: Change the Jit Disasm message when we have profile date to include X-Git-Tag: submit/tizen/20210909.063632~11030^2~7554^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3222daf774ac9a79bb8bfe29f47ec96b493c0945;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Change the Jit Disasm message when we have profile date to include information about the edge weights and the value of fgCalledCount. Example: ; with IBC profile data, edge weights are valid, and fgCalledCount is 145 Commit migrated from https://github.com/dotnet/coreclr/commit/99e2889af4e7ff9bba4fb8cd920a5bcba9407370 --- diff --git a/src/coreclr/src/jit/codegencommon.cpp b/src/coreclr/src/jit/codegencommon.cpp index 06da545..71d27be 100644 --- a/src/coreclr/src/jit/codegencommon.cpp +++ b/src/coreclr/src/jit/codegencommon.cpp @@ -2981,7 +2981,8 @@ void CodeGen::genGenerateCode(void** codePtr, ULONG* nativeSizeOfCode) if (compiler->fgHaveProfileData()) { - printf("; with IBC profile data\n"); + printf("; with IBC profile data, edge weights are %s, and fgCalledCount is %u\n", + compiler->fgHaveValidEdgeWeights ? "valid" : "invalid", compiler->fgCalledCount); } if (compiler->fgProfileData_ILSizeMismatch)