Repository navigation
improve tracy docs - #4117
Merged
Merged
improve tracy docs#4117
Conversation
ScottTodd
approved these changes
Dec 8, 2020
| window](https://gist.githubusercontent.com/bjacob/ff7dec20c1dfc7d0fc556cc7275bca9a/raw/fe4e22ca0301ebbfd537c47332a4a2c300a417b3/tracy_statistics.jpeg) | ||
|
|
||
| See how the above screenshot has two radio buttons at the top: 'Instrumentation' | ||
| and 'Sampling'. At this point, if you don't a the 'Sampling' radio button, you |
Member
There was a problem hiding this comment.
typo?
Suggested change
| and 'Sampling'. At this point, if you don't a the 'Sampling' radio button, you | |
| and 'Sampling'. At this point, if you don't see the 'Sampling' radio button, you |
Comment on lines
+200
to
+210
| These 'Instrumentation' and 'Sampling' statistics correspond the two kinds of | ||
| data that Tracy collects about your program. In the Tracy main view, they | ||
| correspond, respectively, to 'normal' and 'ghost' zones. For each thread, the | ||
| ghost icon toggles the view between these two kinds of zones. 'Normal' zones are | ||
| explicitly recorded by the instrumented program, with timestamps. The stacks | ||
| shown are stacks of Tracy instrumentation zones, not real call stacks. 'Ghost' | ||
| zones are obtained by Tracy sampling the thread's real call stack at a frequency | ||
| of typically roughly 10 kHz. Only ghost zones have the data to show the time | ||
| spent on a line-by-line or instruction-by-instruction basis. That's why when we | ||
| actually click on a zone, we get a very different view depending on whether it's | ||
| a normal or a ghost zone. |
Member
There was a problem hiding this comment.
If this gets more comprehensive, I'd suggest referring people to the Tracy manual for a general introduction to Tracy and then focusing our docs on what is noteworthy about IREE (e.g. which threads and event patterns to look for).
Collaborator
Author
There was a problem hiding this comment.
good point, linked and trimmed this text.
This was referenced Dec 10, 2020
Closed
Closed
Merged
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
Dec 10, 2020
* 1b71cac Adding hal.interface.workgroup.* ops. (#4149) * 04b7c37 Add ctests for the tensorflow/e2e directory. * c3fc9a1 Remove all !r from python f-strings (#4157) * fdb88b9 improve tracy docs (#4117) * 204f652 Write the doc page on profiling cpu events (#4126) * 613efa8 Add build instructions to python getting started (#4153) * d889ac1 Revert "Fix missing f-string (#4150)" * aaa08b1 Enable dylib-llvm-aot tests and switch from testing JIT to AOT. (#3928) * cb1e46e Refactor and normalization of mhlo convolutions (#4113) * 0590b3c Fix missing f-string (#4150) * 2f7cab5 Check in BuildKite pipeline for android tests (#4137) * c195ae9 Fix types for std::min on MSVC. (#4148) * 5fefe30 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4145) * f03307d Fix ImGui function in iree-run-module-vulkan-gui-main. (#4147) COPYBARA_INTEGRATE_REVIEW=#4168 from hanhanW:main-to-google 7c443d3 PiperOrigin-RevId: 346812805
hanhanW
added a commit
that referenced
this pull request
Dec 10, 2020
* 1b71cac Adding hal.interface.workgroup.* ops. (#4149) * 04b7c37 Add ctests for the tensorflow/e2e directory. * c3fc9a1 Remove all !r from python f-strings (#4157) * fdb88b9 improve tracy docs (#4117) * 204f652 Write the doc page on profiling cpu events (#4126) * 613efa8 Add build instructions to python getting started (#4153) * d889ac1 Revert "Fix missing f-string (#4150)" * aaa08b1 Enable dylib-llvm-aot tests and switch from testing JIT to AOT. (#3928) * cb1e46e Refactor and normalization of mhlo convolutions (#4113) * 0590b3c Fix missing f-string (#4150) * 2f7cab5 Check in BuildKite pipeline for android tests (#4137) * c195ae9 Fix types for std::min on MSVC. (#4148) * 5fefe30 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4145) * f03307d Fix ImGui function in iree-run-module-vulkan-gui-main. (#4147) COPYBARA_INTEGRATE_REVIEW=#4168 from hanhanW:main-to-google 7c443d3 PiperOrigin-RevId: 346812805
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.