Skip to content

Commit

Permalink
[Chapter7] Added a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dendibakh committed Dec 26, 2023
1 parent dbbf3f0 commit a3ef81b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[TODO]: possible candidate for Appendix

## Event Tracing for Windows

Microsoft has developed a system-wide tracing facility named Event Tracing for Windows (ETW). It was originally intended for helping device driver developers, but later found its use in analyzing general-purpose applications as well. ETW is available on all supported Windows platforms (x86, x64 and ARM) with the corresponding platform-dependent installation packages. ETW records structured events in user and kernel code with full call stack trace support which allows to observe SW dynamics in a running system and solve many challenging performance issues.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[TODO]: possible candidate for Appendix

## Specialized and Hybrid profilers {#sec:Tracy}

Most of the tools explored so far fall under the category of sampling profilers. These are great when you want to identify hot-spots in your code, but in some cases they might not provide enough granularity for analysis. Depending on the profiler sampling frequency and the behavior of your program, most functions could be fast enough that they don't show up in a profiler. In some scenarios you might want to manually define which parts of your program need to be measured consistently. Video games, for instance, render frames (the final image shown on screen) on average at 60 frames per second (FPS); some monitors allow up to 144 FPS. At 60 FPS, each frame has as little as 16 milliseconds to complete the work before moving on to the next one. Developers pay particular attention to frames that go above this threshold, as this causes visible stutter in games and can ruin the player experience. This situation is hard to capture with a sampling profiler, as they usually only provide the total time taken for a given function.
Expand Down

0 comments on commit a3ef81b

Please sign in to comment.