Oberon Community Platform Forum

Development => General => Topic started by: soren renner on December 27, 2008, 02:48:16 AM

Title: Profiler!
Post by: soren renner on December 27, 2008, 02:48:16 AM
For some reason I had not been using this. Just this last week I discovered the profiler tool. (Yes, I know it is there in the menu.) It is VERY useful.

Title: Re: Profiler!
Post by: staubesv on January 05, 2009, 09:38:16 AM
BTW: Since the usage of the WMProfiler GUI is not very intuitive, here some brief explanation:

The profiler always gathers the same kind of data (use start, stop and continue to control the profiler's operation). The data can be visualized by pressing the "Get Profile" button. There are two options for "Get Profile" operation. Type is either "0" (hierarchical profile) or "1" (flat profile"). More interestingly, info can be "0" (no info), "1" (group by threads), "2" (group by processor), "3" (group by threads-processors) or "4" (group by processors-threads).

The setting info "1" is likely the most interesting. It means that at top-level of the profile, the GUI indicates to which thread a certain sample belongs.