Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Hierarchy #35

Closed
igormironchik opened this issue Apr 25, 2017 · 2 comments
Closed

Empty Hierarchy #35

igormironchik opened this issue Apr 25, 2017 · 2 comments

Comments

@igormironchik
Copy link

After loading *.prof file in the GUI. I can see the Diagram, but Hierarchy is empty.

@yse
Copy link
Owner

yse commented Apr 25, 2017

You should hold right mouse button and drag over desired blocks in thread view. So, see #33
Unfortunately, our documentation is small yet =(

@ludekvodicka
Copy link

I believe that small gray text "Use right mouse button ...." inside the hierarchy window would be a perfect hint.

@cas4ey cas4ey closed this as completed Jun 30, 2017
cas4ey added a commit that referenced this issue Apr 27, 2018
Core
* Added non-scoped block functionality for beginning and ending block manually from different functions. To open block use `EASY_NONSCOPED_BLOCK` macro, to close block use `PROFILER_END_BLOCK`. See #29 for more information
* Added new API functions for getting current time (ticks) and converting it to nano- and microseconds:
  * `timestamp_t profiler::currentTime()` returns current time in ticks (or nanoseconds - depends on build options)
* Add following cmake options to easy_profiler_core `CMakeLists.txt`:
  * `BUILD_WITH_CHRONO_STEADY_CLOCK` - use `std::chrono::steady_clock` as a timer. By default is `OFF`
  * `BUILD_WITH_CHRONO_HIGH_RESOLUTION_CLOCK` - use `std::chrono::high_resolution_clock` as a timer. By default is `OFF`

If both is set to `ON` - use `std::chrono::high_resolution_clock`.
If both is set to `OFF` - use `QueryPerformanceCounter/rtdsc` timer.

**_Note_**: Do not forget clean `CMakeCache` file if you've changed an option.

* Calculating total children duration per thread/frame/parent

GUI

* Displaying "total self %" (duration % excluding all children) per thread/frame/parent
* Changed "Connect" button logic: if connected to the profiled application then additional click performs disconnect. Changed appropriate tool-tip.
* Fixed displaying unicode text in popup and at histogram window
* Display current opened file name at the window title;
* Suggest save file name: using current system date and time as file name;
* Checking for unsaved network session before opening new file and before exit.
* Added "Use Right Mouse Button..." hint to Hierarchy window. See #35 #33
* Changed popup position on Diagram - now it is better positioned for small window also.
* Added additional field "Self" to the popup on Diagram. Self stands for "self duration" (duration excluding all children).
* Clear FPS Monitor contents after successful connect.
* Minor fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants