Questions

Here are some questions so that you can test your understanding of the topics in this chapter:

  1. What does this mean: Apitrace preloads an instrumented implementation of OpenGL? Explain.
  2. Isn't there a way to use the gprof after all?
  3. How would you look for a lock convoy or a waiting chain causing your UI to stutter or, even worse, to freeze?
  4. What is the difference between CPU Usage (Precise) and CPU Usage (Sampled) in ETW traces?
  1. How would you find timers running amok or QML items accumulating video memory?
  2. What can you do when your favorite open source performance is not supported by Qt Creator?
  3. What is that thread and lock analysis feature some of the tools seem to have?
  4. If you try to launch the example program directly or from an external CPU profiler, this won't work. Why not? How do you fix it?
  5. If we don't use any custom ETW events in our program, will we be able see any information about the program in ETW traces?
  6. Which one is better—sampling or instrumentation?