<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 7, 2015 at 2:15 PM, Easwaran Raman <span dir="ltr"><<a href="mailto:eraman@google.com" target="_blank" class="cremed">eraman@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Dec 7, 2015 at 10:53 AM, Diego Novillo <span dir="ltr"><<a href="mailto:dnovillo@google.com" target="_blank" class="cremed">dnovillo@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">dnovillo added a comment.<br>
<br>
Once this is in, please update lib/Transforms/IPO/SampleProfile.cpp. It does something similar.<br></blockquote></span><div>It does something similar, but not the same (hotness is based on ratio of samples in the function to the samples in the program). I'll work on a common interface that will work for the current frontend instrumentation based PGO, the backend instrumentation based  PGO Rong is proposing and sampled PGO.</div></div></div></div></blockquote><div><br></div><div>Great!  Thanks.</div></div></div></div>