<div dir="ltr">Hello,<div>I am PhD student. My work deals with finding the <b>memory (RAM) consumption</b> as indicated by <b>linux RSS</b> output and <b>execution time </b>as indicated by<b> linux time</b> command at compile time using LLVM. How can I do this? Like if i pass dataset size and application to llvm compiler, it should tell the <b>estimated memory consumption</b> and <b>time taken</b> to execute given application with given dataset, but all at compile time? I am trying to avoid profiling here. I wont get accurate values, hence rough estimated values of memory consumption and time are enough...</div><div><br></div><div>Can llvm-mca help me in finding these statistics? or I need to write a new compiler analysis pass to find these values?</div><div><br></div><div>Please help  how to proceed.</div><div><br></div><div> Thank You</div><div>Regards</div></div>