0
0
mirror of https://github.com/yse/easy_profiler.git synced 2025-01-14 00:27:55 +08:00

434 Commits

Author SHA1 Message Date
Victor Zarubkin
046d9bd40c added copyright 2019-10-31 20:02:12 +03:00
Victor Zarubkin
6ae08c3a70 [ui] fixed SocketListener listen methods; moved SocketListener and FileReader into separate source files. 2019-10-29 23:52:53 +03:00
Victor Zarubkin
00ee2d0e18 [ui] round progress indicator: added setTitle method 2019-10-29 23:51:57 +03:00
Victor Zarubkin
7d0c04bd73 [ui] fixed search text highlighting, renamed some menu actions 2019-10-29 23:50:55 +03:00
Victor Zarubkin
357ac45834 [ui] fixed zero division error 2019-10-29 23:48:17 +03:00
Victor Zarubkin
272c0ceab1 [ui] fixed slider freeze after load new file in "Zoom" mode;
[core] #157 added new build flag EASY_OPTION_TRUNCATE_RUNTIME_NAMES which will prevent from crash for very big block names, but will reduce performance. Disabled by default because of very rare use case;
[core] #157 added new build flag EASY_OPTION_CHECK_MAX_VALUE_SIZE for EASY_VALUE arrays and strings - same as the flag above for block names. Also disabled by default;
2019-10-28 19:14:05 +03:00
Victor Zarubkin
0dc5a71aad [ui] rearrange settings; some renames 2019-10-27 14:27:53 +03:00
Victor Zarubkin
33850d5abf [ui] histogram update: added avg, median times, added color square for block name, added borders 2019-10-26 01:04:21 +03:00
Victor Zarubkin
c74744fae4 [ui] added workaround for Qt memory leak on Linux when using multiple threads;
[ui] added median duration into tree stats;
[ui] added max rows count for "Call-stack" tree mode;
2019-10-24 19:21:31 +03:00
Victor Zarubkin
b23d21ffc8 [core] added median duration calculation 2019-10-23 01:55:47 +03:00
Victor Zarubkin
701992a63d [ui] fix round progress dialog positioning for Hierarchy widget; Use round progress dialogs everywhere instead of QProgressDialog 2019-10-22 19:07:01 +03:00
Victor Zarubkin
f547c62182 [ui] Use RoundProgressDialog instead of QProgressDialog 2019-10-22 09:58:25 +03:00
Victor Zarubkin
abcfa4ac47 [ui] fps widget adaptation for smaller height 2019-10-22 02:24:01 +03:00
Victor Zarubkin
fd766f1b26 fix old Qt build 2019-10-21 09:06:26 +03:00
Victor Zarubkin
92a5ca4a75 Big bunch of changes:
* update copyright
* fix css parsing
* fix block name search
* add matching text highlighing for find results
* add calculation of block statistics for selected area
* new action: right-click on a block on "Diagram" selects region using left and right bounds of this block
* other optimizations
2019-10-20 16:12:37 +03:00
Victor Zarubkin
d4b414eb73 #125 [UI] fixed popup crash on Linux 2019-10-06 17:34:42 +03:00
Sergey Yagovtsev
3be797b4ad Recreate socket on failed connection #154 2019-03-27 00:07:58 +03:00
Victor Zarubkin
0ccb564099 #125 [UI] fixed popup windows issue: now windows must disappear when switching between applications (Alt+Tab etc.) 2019-03-23 21:36:44 +03:00
Victor Zarubkin
0567f2db54 #143 fixed QFont issue with negative weight 2019-01-10 00:29:22 +03:00
Sergey Yagovtsev
cce8431484 Gramma fix #133 2018-10-04 13:10:42 +03:00
Sergey Yagovtsev
53289cec81 Static thread local 2018-09-18 23:20:43 +03:00
Sergey Yagovtsev
99b761375b Remove ATOMIC_VAR_INIT 2018-09-18 22:41:58 +03:00
Victor Zarubkin
f0a588eec5 #106 [Core][UI] Fixed reading bookmarks with empty text; Fixed overriding and restoring mouse cursor shape when hovering bookmark at the Diagram widget;
#0 [UI] Waiting until saving file is finished when closing the UI.
2018-06-14 02:57:12 +03:00
Victor Zarubkin
c85d15a4e2 #106 [UI] Rising a tooltip when passing cursor over a bookmark; #0 [UI] Minor fixes 2018-06-13 21:43:16 +03:00
Victor Zarubkin
0ae430410d #106 [Core][UI] Added possibility to add user bookmarks with double-clicking on a timeline in the Diagram window.
#112 [UI] Fixed losing focus (and getting under MainWindow) for Blocks widget.
#0 [UI] UI styling, added custom window header and dialogs (could be turned off/on and adjusted position at [Settings -> Appearance] menu).
2018-06-09 02:18:39 +03:00
Victor Zarubkin
b10965ee92 #0 [UI] Fixed zooming for charts (histogram, arbitrary value) with mouse wheel 2018-05-25 20:48:37 +03:00
Victor Zarubkin
2b75e65535 #0 [UI] refactoring 2018-05-24 02:19:48 +03:00
Victor Zarubkin
7503199eed #0 [UI] Style 2018-05-23 00:22:12 +03:00
Victor Zarubkin
564b50824e #0 [UI] UI styles 2018-05-22 21:36:18 +03:00
Victor Zarubkin
983085157e # [UI] Styles and refactoring 2018-05-19 23:41:01 +03:00
Victor Zarubkin
91b2a4e609 #89 [UI] High DPI displays fix + System scaling factor 2018-05-19 23:40:01 +03:00
Victor Zarubkin
291c04e8c3 #0 [UI] Tooltip fix 2018-05-19 23:35:00 +03:00
Victor Zarubkin
84b391b6cc #0 [Core] refactoring 2018-05-08 21:14:46 +03:00
Victor Zarubkin
91724bfe20 #0 [UI] refactoring 2018-05-07 21:58:37 +03:00
Victor Zarubkin
f665478830 #91 [Core][UI] functions profiler::writeTreesToFile(), profiler::writeTreesToStream() are now working. Snapshot feature is now working: select an area on Diagram (with right mouse button or double-click) and press Snapshot button to save it to separate file. 2018-04-25 21:37:18 +03:00
Victor Zarubkin
46b661aecf #91 [UI] Snapshot icon (actually called "crop") 2018-04-22 16:21:28 +03:00
Victor Zarubkin
ae5c46477d #91 [UI] Snapshot feature further progress (intermediate commit) 2018-04-22 16:15:10 +03:00
Victor Zarubkin
ef7b41fd0d #91 [UI] Added snapshot tool stub; Working on saving blocks to file from UI 2018-04-22 03:34:26 +03:00
Victor Zarubkin
f736af9721 #0 [UI] Arbitrary value ToolTip styling fix; Viewport info fix; 2018-04-02 01:50:53 +03:00
Victor Zarubkin
cb8e66e9ae #0 [UI] Diagram tool-tips fix: no tool-tips if mouse cursor is over another widget (opened settings for example) 2018-03-31 19:01:47 +03:00
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