Quiz

1. Which of the following options should you use to enable inlining across multiple source files?

A) -Qprof_gen (-prof_gen on Linux)
B) -Qip (-ip on Linux)
C) -Qprof_use (-prof_use on Linux)
D) -Qipo (-ipo on Linux)


2. Which of the following is not true for PGO?

A) A good candidate for PGO is an application with many functions or branching that is not bound to loops.
B) PGO is most effective when you can properly define a representative workload.
C) It's not necessary to repeat the instrumentation compilation when many changes are made to source code after execution and before the feedback compilation.
D) Using PGO can lead to better predication.