0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

444 Commits

Author SHA1 Message Date
Victor Zarubkin
c5ba69c8bc #31 [UI] Amend. Forgotten files. 2018-03-29 08:13:37 +03:00
Victor Zarubkin
7981a8f4ce #31 [UI] Added tooltip for arbitrary values to the Diagram 2018-03-29 01:56:21 +03:00
Victor Zarubkin
57dca48349 #31 [UI] Added arbitrary value tool-tip to Hierarchy tree widget (Try to move mouse cursor over Name column) 2018-03-26 21:38:41 +03:00
Victor Zarubkin
e8d667e083 #0 [UI] Adjusted search boxes in Hierarchy widget and Blocks Descriptors Widget 2018-03-18 03:13:16 +03:00
Victor Zarubkin
212502578f #100 [UI] Implemented zoom-in button 2018-03-18 03:12:10 +03:00
Victor Zarubkin
bc0d351522 #0 [UI] Added viewport info widget. See [Settings] -> [See viewport info] 2018-03-15 21:01:19 +03:00
Victor Zarubkin
5d94a8b194 #31 [UI] Fixed current block boundaries painting 2018-03-15 21:00:08 +03:00
Victor Zarubkin
5eefad6ab6 #31 [UI] Highlight current selected block boundaries on arbitrary value chart 2018-03-14 00:31:07 +03:00
Victor Zarubkin
261de87ad9 #31 [UI] Arbitrary values: fixed multi-window viewer 2018-03-13 01:54:05 +03:00
Victor Zarubkin
dd5af5350b #31 [UI] Open several arbitrary values viewer windows 2018-03-13 01:28:58 +03:00
Victor Zarubkin
769236c35a #31 [Gui] Double click on arbitrary value on the Diagram will open values viewer and will select appropriate arbitrary value 2018-03-12 01:47:20 +03:00
Victor Zarubkin
402612ee2b #0 [Gui] Fixed hierarchy building for zero duration blocks - events and arbitrary values are always visible 2018-03-12 01:45:20 +03:00
Victor Zarubkin
5e632bedee #31 [Core] Arbitrary values: replaced size_t with uint16_t; [Gui] Added support of arrays to arbitrary values tree 2018-03-07 20:52:39 +03:00
Victor Zarubkin
49f000d11a #0 [Gui] Windows styling fix 2018-03-03 03:01:41 +03:00
Victor Zarubkin
f6447ad3f9 #0 [Gui] Fixed typo 2018-03-03 03:00:48 +03:00
Victor Zarubkin
2643ea9b09 #0 [Gui] Mac build fix 2018-03-02 21:08:53 +03:00
Victor Zarubkin
3280e951fd #31 [Gui] Implemented zoom for complexity chart mode; Implemented export to .csv for complexity mode 2018-02-27 21:48:15 +03:00
Victor Zarubkin
bd1d8b71cf #0 [Gui] Added background jobs to thread pool and removed detached threads from code 2018-02-27 21:41:32 +03:00
Victor Zarubkin
b07de42a48 #0 [Gui] Thread pool fix: there was a possibility that not all tasks would be executed 2018-02-25 21:19:23 +03:00
Victor Zarubkin
b6b988e274 #0 [Gui] TreeView style fixes 2018-02-25 21:04:32 +03:00
Sergey Yagovtsev
2232407685 Add math functions for calculation complexity 2018-02-25 14:57:28 +03:00
Victor Zarubkin
59f04384be #0 [Gui] Paint background for current item for tree-widget 2018-02-24 23:50:20 +03:00
Victor Zarubkin
9308a17c21 #31 [Gui] Fixed appox. line painting for complexity chart; Added export to .csv for regular chart type (timestamp;value); 2018-02-22 20:56:28 +03:00
Victor Zarubkin
4fb35b2099 #0 [Gui] Fixed popup and double click on thread names on Diagram 2018-02-20 22:14:21 +03:00
Victor Zarubkin
1db116c791 #31 [Gui] Fixed mouse indicator for complexity chart; fixed buildTree(); added stub for future export values to .csv 2018-02-20 22:11:43 +03:00
Victor Zarubkin
87bc825980 #31 [Gui] Arbitrary values viewer: fixed performance problem, added icons for chart types 2018-02-16 20:51:33 +03:00
Victor Zarubkin
3608ec1a56 #31 [Gui] Hide slider when displaying complexity chart 2018-02-11 16:37:18 +03:00
Victor Zarubkin
9860a565d3 #31 [Gui] Complexity charts for arbitrary value viewer 2018-02-09 21:06:18 +03:00
Victor Zarubkin
b50a5bcbb3 #31 [Gui] Intermediate commit: implementing O(n) chart (kinda...) to be able to analyse algorithm complexity depending on certain arbitrary value 2018-02-02 22:44:38 +03:00
Victor Zarubkin
677a138fa3 #89 Trying to fix high-dpi displays problem 2018-02-01 23:17:01 +03:00
Victor Zarubkin
192ab87e4c #0 Simplified some lambdas 2018-01-29 23:42:18 +03:00
Victor Zarubkin
091d5447ce #0 Updated copyright dates; [Gui] thread_pool.cpp MSVC build fix; [Core] Renamed getCurrentTime() to profiler::clock::now() + renamed profiler::currentTime() to profiler::now() 2018-01-29 23:29:43 +03:00
Victor Zarubkin
1a333e4f01 #0 [Gui] Large portion of refactoring; Replaced bunch of threads with thread pool; Small fixes for arbitrary values viewer 2018-01-28 20:52:17 +03:00
Victor Zarubkin
1f6d3c2a7d #31 [Gui] Arbitrary values viewer bug fixes 2018-01-28 02:01:49 +03:00
Victor Zarubkin
230f7d1463 #0 [Gui] Saving dialog geometry; Added refresh button to arbitrary values widget; Fixed zoom-in algorithm 2018-01-25 23:21:56 +03:00
Victor Zarubkin
a7a58acd1d #31 [Gui] Big update for arbitrary values viewer. It is now viable and can be used to inspect user metrics. Currently arbitrary values viewer is built into blocks list widget. 2018-01-21 19:37:44 +03:00
Victor Zarubkin
694497b5ca Release 2.0 further work. Intermediate commit. 2018-01-20 15:23:28 +03:00
Victor Zarubkin
22c61a42b5 #75 [Core] No waiting when dumping blocks. All events should now be stored properly. 2018-01-08 02:56:51 +03:00
Victor Zarubkin
2c008b77ed Merge remote-tracking branch 'origin/develop' into release_2_0
# Conflicts:
#	easy_profiler_core/block.cpp
#	easy_profiler_core/profile_manager.cpp
#	easy_profiler_core/reader.cpp
#	profiler_gui/common_types.h
#	profiler_gui/descriptors_tree_widget.cpp
2018-01-04 17:59:21 +03:00
uykusuz
50cd560722 #0: various fixes for windows build (#84)
* #0: various fixes for windows build

* remove warnings that definition of a variable hides previously defined ones
* remove warnings that function argument is not used
* remove warnings that statements are not reached
* event_trace_win: fix compilation with UNICODE

* #0 various windows fixes: react to PR comments

* localize unicode handling of process info to ProcessInfo
* fix compilation error in Properties constructor

* event_trace_win: fix bug in ProcessInfo initialization

We didn't retry setting the name when GetModuleBaseName() didn't succeed,
even though we did that before the last refactoring.

* Revert "event_trace_win: fix bug in ProcessInfo initialization"

This reverts commit c4ce6cf488be5489fa0a1a9c24e92dd39bbc42a1.

* Revert "#0 various windows fixes: react to PR comments"

This reverts commit cae31a25371e53a3645ddab82372c3772138d658.

* #0 various windows fixes: react to PR comments again

* keep number of allocations minimal
* add getProcessName() to retrieve the process name as char always (i.e. not UNICODE)
2018-01-04 17:15:02 +03:00
Victor Zarubkin
b1bf6a1ac8 Older compiler build 2017-12-28 00:37:26 +03:00
Victor Zarubkin
4406664a7d #31 Basic arbitrary values viewer chart 2017-12-28 00:23:14 +03:00
Victor Zarubkin
b73044fddd #31 [Core] Fixed issue with storing arbitrary value while dumping. // [GUI] Further values viewer progress. 2017-12-14 23:12:27 +03:00
Victor Zarubkin
123358b798 #31 [GUI] Arbitrary values viewer begin. Refactoring. 2017-12-07 22:36:53 +03:00
Victor Zarubkin
2b24ea635f #0 [GUI] HierarchyTree: Finally replaced colored rows with colored squares in front of block name. These squares can not be turned off from now. 2017-12-06 22:04:08 +03:00
Victor Zarubkin
f03fa50dd5 #0 [GUI] Appearance 2017-12-05 21:53:14 +03:00
Victor Zarubkin
b11c68e71f #31 [GUI] Arbitrary values viewer progress 2017-12-04 20:29:45 +03:00
Victor Zarubkin
3b6986aa36 #0 [GUI] Appearance progress 2017-12-04 20:29:22 +03:00
Victor Zarubkin
d24e4a9e7e #31 [GUI] Arbitrary values viewer progress 2017-11-30 22:21:08 +03:00
Victor Zarubkin
df93c146b2 #0 [GUI] Windows styling and consterxpr fix for some Qt versions 2017-11-27 22:43:01 +03:00
Victor Zarubkin
e4305bf10b #0 [GUI] Styling and optimization 2017-11-27 22:02:15 +03:00
Victor Zarubkin
010ac07ce0 #0 [GUI] Styling. Themes. 2017-11-26 15:37:39 +03:00
Victor Zarubkin
a559bbe2c5 #0 [GUI] Styling 2017-11-23 22:15:12 +03:00
Victor Zarubkin
109c5fc47c #0 [GUI] Styling 2017-11-23 22:01:44 +03:00
Victor Zarubkin
66dce34169 #31 arbitrary value interface small refactoring 2017-11-20 23:36:33 +03:00
Victor Zarubkin
43df2d8636 #0 [GUI] Styling 2017-11-20 23:34:45 +03:00
Victor Zarubkin
5fdc4aa4e7 #0 [GUI] Warning fix: typo, forgotten return 2017-11-20 21:57:42 +03:00
Victor Zarubkin
86ed82aea4 #0 [GUI] Styling 2017-11-17 21:22:53 +03:00
Victor Zarubkin
aa1ddb44ca #0 [GUI] Styling 2017-11-16 22:32:28 +03:00
Victor Zarubkin
b3fd7c7837 #31 Single arbitrary values can be displayed in GUI as events + value converted to text 2017-11-15 21:43:52 +03:00
Victor Zarubkin
78186a82d0 #0 Build fix >:E 2017-11-10 00:01:43 +03:00
Victor Zarubkin
ae4c6c4e9f #0 [Core][GUI] refactoring 2017-11-09 23:34:17 +03:00
Victor Zarubkin
530eb2446c #0 [Core] A lot of code refactoring 2017-11-09 23:12:54 +03:00
Victor Zarubkin
a32d3576c6 #66 [GUI] fixed disconnection problem when hitting cancel-button while receiving data and there is no need to restart GUI after unexpected disconnect 2017-10-04 22:37:46 +03:00
Victor Zarubkin
3ab4b9e3c9 #0 [GUI] refactoring: removed SET_ICON macro 2017-10-04 21:38:18 +03:00
Victor Zarubkin
a3ba063e70 #68 fixed [GUI] scaling marker round problems 2017-09-28 22:12:32 +03:00
Sergey Yagovtsev
86f2ff0c71 #66: GUI crash fix 2017-09-18 13:05:45 +03:00
Valerio Varricchio
5ab683de76 One more typo ... 2017-09-06 11:13:42 +03:00
Victor Zarubkin
ba2a8533ab (GUI) Removed unused includes 2017-09-01 00:10:25 +03:00
Sergey Yagovtsev
2c963d8d06 Install profiler_gui and set rpath to ORIGIN 2017-09-01 00:01:53 +03:00
Oliver Daniell
f241444f1d Moved QFonts into EASY_GLOBALS and deferred instantiation of EASY_GLOBAS
until after QApplication.
2017-08-10 09:12:33 +01:00
Valerio Varricchio
a1aa8fc2e1 Some typos in warning boxes... 2017-07-31 23:22:10 +03:00
Victor Zarubkin
39d7937397 Update copyright in resources.rc 2017-06-19 00:54:27 +03:00
Rokas Kupstys
f007152d2c CMake script rework 2017-06-12 10:36:42 +03:00
Victor Zarubkin
fae8e4f748 #45 (GUI) Disabled address and port edits when connected 2017-06-09 09:15:56 +03:00
Sergey Yagovtsev
3cad41e63d fix #45 2017-06-08 18:52:51 +03:00
Victor Zarubkin
43b6d1312b (GUI) Added possibility to display only frames (top-level blocks) on histogram to be able to find unexpected blocks on top level. Use [Settings] -> [Only frames on histogram] 2017-06-07 02:08:53 +03:00
Victor Zarubkin
8c4e26e3ec (GUI) Fix compiler warning 2017-06-07 01:47:05 +03:00
Victor Zarubkin
93c3066095 update #42 : Slightly better solution with less amount of black magic - different data structures for context switch events. Core API changed! 2017-06-07 01:39:45 +03:00
Victor Zarubkin
4a9daf3bb4 update #42 : fixed possible statistics display bug; work around storing 64-bit thread id for context switch events (requires testing);
* (GUI) Added popup window when moving mouse cursor to thread name in Diagram window;
2017-06-06 20:46:06 +03:00
Victor Zarubkin
6e35381517 (GUI) Removed leading "../" from file names in BlocksList widget - now it is more compact and readable 2017-06-05 21:27:55 +03:00
Victor Zarubkin
089fcf1e31 (GUI) Added an option to display thread ids in HEX mode;
* (GUI) Fixed problem with searching selected blocks in histogram when selecting block from BlocksList widget
2017-06-05 21:26:10 +03:00
Victor Zarubkin
65ac892e32 Fixing problems after changing thread_id_t to uint64_t from uint32_t: There is still a big problem with target-thread ids of context-switch events on *nix systems (it has been stored in block_id_t which is uint32_t and now it requires Core API changes to support new thread_id_t). Also there is a problem with statistics displaying (for top-level blocks parent_index had value of thread-id, it requires a work around now). 2017-06-05 21:24:01 +03:00
Sergey Yagovtsev
35b4796a62 *nix build 2017-06-05 13:18:28 +03:00
Josh Engebretson
a01187cf55 Networking fixes for MacOS
Qualify type for std::abs
2017-05-23 19:47:29 +03:00
Victor Zarubkin
bf308dc299 (GUI) Fixed displaying unicode text in popup and at histogram window 2017-05-02 23:22:36 +03:00
Victor Zarubkin
35ca4ff370 (GUI) Display current opened file name at the window title;
* (GUI) Suggest save file name: using current system date and time as file name;
* (GUI) Checking for unsaved network session before opening new file and before exit.
2017-05-02 23:21:15 +03:00
Victor Zarubkin
e1bc731570 #37 enclosed MinGW specific 2017-05-01 04:03:26 +03:00
Victor Zarubkin
e862ba4c88 (GUI) #35 #33 Added "Use Right Mouse Button..." hint to Hierarchy window 2017-05-01 03:52:48 +03:00
Victor Zarubkin
4f941294fd (GUI) #37 replaced std::abs() with abs();
(GUI) Changed popup position on Diagram - now it is better positioned for small window also.
2017-04-30 01:09:06 +03:00
Victor Zarubkin
2e74f83569 (GUI) Displaying "total self %" (duration % excluding all children) per thread/frame/parent 2017-04-20 22:30:05 +03:00
Victor Zarubkin
c93464968e (GUI) Minor cosmetic changes to the FPS Monitor 2017-04-17 22:15:40 +03:00
Victor Zarubkin
c202bd8cac (GUI) Added additional field "Self" to the popup on Diagram. Self stands for "self duration" (duration excluding all children). 2017-04-17 22:14:51 +03:00
Victor Zarubkin
0466ee3e85 (GUI) Changed "Connect" button logic: if connected to the profiled application then additional click performs disconnect. Changed appropriate tool-tip.
(GUI) Clear FPS Monitor contents after successful connect.
2017-04-17 22:13:22 +03:00
Victor Zarubkin
b8360cd2c2 (GUI) Changed default options in globals 2017-04-17 22:09:53 +03:00
Victor Zarubkin
c7ba19cb4d (GUI) Fixed warnings 2017-04-10 22:04:09 +03:00
Victor Zarubkin
0d5acc75e2 Linux build: include math.h for fabs 2017-04-10 21:54:54 +03:00
Victor Zarubkin
cbb298dc19 (GUI) Added possibility to adjust selection boundaries with dragging (available for both rulers: black and blue) 2017-04-10 21:33:56 +03:00
Victor Zarubkin
631619865e (GUI) Minor changes to FPS Monitor: added antialiasing and possibility to change line width (via settings) 2017-04-05 22:37:40 +03:00
Victor Zarubkin
28cea458a4 (GUI) New icon for "Clear all" button 2017-04-05 22:34:18 +03:00