sk-landry
bfeb4ee6f8
Port to Qt6
2024-05-13 04:09:30 -04: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
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
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
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
Sergey Yagovtsev
cce8431484
Gramma fix #133
2018-10-04 13:10:42 +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
2b75e65535
#0 [UI] refactoring
2018-05-24 02:19:48 +03:00
Victor Zarubkin
564b50824e
#0 [UI] UI styles
2018-05-22 21:36:18 +03:00
Victor Zarubkin
91b2a4e609
#89 [UI] High DPI displays fix + System scaling factor
2018-05-19 23:40:01 +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
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
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
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
5eefad6ab6
#31 [UI] Highlight current selected block boundaries on arbitrary value chart
2018-03-14 00:31:07 +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
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
677a138fa3
#89 Trying to fix high-dpi displays problem
2018-02-01 23:17:01 +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
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
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
4406664a7d
#31 Basic arbitrary values viewer chart
2017-12-28 00:23:14 +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
109c5fc47c
#0 [GUI] Styling
2017-11-23 22:01:44 +03:00
Victor Zarubkin
43df2d8636
#0 [GUI] Styling
2017-11-20 23:34:45 +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
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
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
Valerio Varricchio
a1aa8fc2e1
Some typos in warning boxes...
2017-07-31 23:22:10 +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
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
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
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
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
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
880b35e59a
(GUI) FPS Monitor also works while capturing frames
2017-04-03 23:28:19 +03:00
Victor Zarubkin
beba74d559
(GUI) Added real-time FPS Monitor which shows current max/avg frame time in GUI even if profiler is disabled. You just need to connect to the profiled app. You can close (hide) FPS Monitor and it would not send network requests to the profiled application anymore. You can increase/decrease FPS Monitor requests interval in "Settings -> FPS Monitor -> Request interval, ms". Right click on FPS Monitor window to show context menu in which you can clear contents or hide FPS Monitor.
2017-04-03 23:16:36 +03:00
Victor Zarubkin
08372ac136
Update license
2017-03-30 06:55:15 +03:00
Victor Zarubkin
835e8f0a1f
(GUI) Show capture dialog immediately if profiling session has been already enabled. You may now profile everything from the application launch (initialization etc.).
2017-03-30 06:48:58 +03:00
Victor Zarubkin
b5b743d9ad
resolve #20 : You can now turn on an option "Automatically adjust histogram height" (in Settings/View) and histogram height will be adjusted automatically to the visible region (but this restricts you from adjusting manually in zoom mode)
2017-03-13 20:31:59 +03:00
Victor Zarubkin
df0ee6ead9
update #20 - Added possibility to change Expected-frame-time via histogram: use Ctrl + LMB
2017-03-07 01:15:25 +03:00
Victor Zarubkin
339f392e7e
Merge branch 'develop' of https://github.com/yse/easy_profiler into develop
2017-03-07 00:31:13 +03:00
Victor Zarubkin
648930eba8
update #20 - first manual version of histogram boundary control: Shift + Mouse Wheel == adjust top boundary (max duration); Ctrl + Mouse Wheel == adjust bottom boundary (min duration)
2017-03-07 00:29:34 +03:00
Sergey Yagovtsev
15912970db
replace double quotes to angle brackets - fixed #28
2017-03-05 23:50:38 +03:00
Victor Zarubkin
c2a4ae3f83
GUI: Removed unused status-bar
2017-02-15 21:45:14 +03:00
Sergey Yagovtsev
d564b6ef4e
Saving files before refreshing line endings
2017-02-08 00:14:49 +03:00
Holger Rapp
7641951247
Fixes for clang 3.8.
...
- Disables warnings for no-braced-scalar-init which shows up for ATOMIC_VAR_INIT.
- Fixes compile warnings, mostly "moving a temporary objects prevents
copy elision" (-Wpessimizing-move) and unused variables.
- Adds some necessary fields to make the sample compile after having
build the core library.
2017-02-07 17:19:58 +01:00
Victor Zarubkin
829ca05e75
(GUI) Added new icon (:/Stop), increased default icon size
2016-12-18 19:16:21 +03:00
Victor Zarubkin
6c403ae4ba
(GUI) Asking before restore last connection if could not connect to the new address;
...
* (GUI) Automatically restore connection on "Start Capture" click if application was disconnected.
2016-12-18 18:27:19 +03:00
Victor Zarubkin
eafcb40970
(GUI) Added possibility to torn on/off decorated thread names (add/don't add "Thread" word info thread name. Example, "Render" convert to "Render Thread", "WorkerThread" "My thread" will not convert in any way). See Settings->View->Use decorated thread names.
...
* (GUI) Fixed lagging when painting very long block on large scale.
2016-12-14 21:47:33 +03:00
Victor Zarubkin
7b63ae39d2
CMake + core: added options to CMakeLists.txt. TODO: maybe set them via CMake "option(...)" command
2016-12-13 21:53:29 +03:00
Victor Zarubkin
d4877b59b8
(GUI) Added new regime "Hide min-size blocks" to hide blocks which screen size is less than 'Min blocks size';
...
(GUI) Slightly more memory effective arch.
2016-12-12 21:39:16 +03:00
Victor Zarubkin
fd259d3948
(GUI) Removed Reload button
2016-12-12 01:10:54 +03:00
Victor Zarubkin
0dc944a877
(GUI) Remember 10 last opened files instead of one (added menu into "Reload last file" tool-button)
2016-12-11 03:27:42 +03:00
Victor Zarubkin
24e0ac261b
(GUI) Increased length of text edit - IP: [ ]
2016-12-10 12:58:16 +03:00
Victor Zarubkin
e5b1485cec
(GUI) Now you can use host name instead of ip-address
2016-12-10 12:54:17 +03:00
Victor Zarubkin
61271ff282
Amend last commit
2016-12-08 22:28:02 +03:00
Victor Zarubkin
6f14a4e97c
(GUI) Added possibility to re-connect to the profiled application or to connect to the new address/port
2016-12-08 22:22:09 +03:00
Victor Zarubkin
15f3c7fc87
(GUI) Added tooltips into Settings->View menu;
...
(GUI) More informative popup window view;
(GUI) Added hystogram for current selected block;
2016-12-04 16:51:27 +03:00
Victor Zarubkin
69a326c06b
(EasyGraphicsView) Highlighting all similar blocks on diagram (only if they are visible!);
...
(GUI) Added possibility to select units in which time will be displayed
2016-11-30 21:59:40 +03:00
Victor Zarubkin
90705af989
(GUI) Added flag "add zero blocks to hierarchy". If it is false then blocks with zero duration will not be added into hierarchy tree in hierarchy window. This saves a lot of memory.
2016-11-26 18:08:02 +03:00
Victor Zarubkin
a7ac056021
(GUI) Added flag for enabling zero length blocks on diagram (if NOT enabled then such blocks would be resized to minimum length which is 250 ns. Otherwise you probably will not see blocks with zero length on diagram, but such blocks are still available at hierarchy window)
2016-11-23 22:54:59 +03:00
Victor Zarubkin
92b2b27a3b
(GUI) Added search box into Hierarchy window;
...
(GUI) Added new option for building hierarchy for selected thread only (for memory economy)
2016-11-20 21:01:33 +03:00
Victor Zarubkin
75fff29ba5
Fixed bug with increasing descriptions number on blocks list refresh
2016-11-20 18:33:56 +03:00
Victor Zarubkin
141b0f99a4
GUI: Added drag and drop of files into GUI window. NOTICE: You have to launch gui NOT as Administrator on Windows, otherwise Windows will block drag and drops from explorer.
2016-11-19 05:39:41 +03:00
Victor Zarubkin
65be64fb51
GUI: Added new settings into settings toolbar -> View. You can change blocks minimum size, spacing and narrow width value.
2016-11-19 04:52:45 +03:00
Sergey Yagovtsev
b1e6bef056
Check connection in GUI
2016-11-18 22:58:44 +03:00
Victor Zarubkin
c0e2e345ec
(EasyGraphicsScrollbar) Draw frame time marker on graphics scrollbar to visualize long frames
2016-11-13 22:02:47 +03:00
Sergey Yagovtsev
e5041a9b2b
Multi-licensing in source codes
2016-11-13 16:39:59 +03:00
Victor Zarubkin
9b0e7fabc5
g++ warnings fix
2016-11-13 15:20:25 +03:00
Victor Zarubkin
34abef3575
Linux build: gcc 4 compatibility (in gcc 4 std::stringstream has no swap() method)
2016-11-06 14:47:01 +03:00
Sergey Yagovtsev
f8ab7f0d91
Merge remote-tracking branch 'origin/develop' into rename_to_easy
2016-10-21 22:15:32 +03:00
Victor Zarubkin
bc83a837f7
New icons
2016-10-02 17:52:14 +03:00
Victor Zarubkin
5de9fcf824
Moved working with files from QFile to std::fstream because QFile has no overwrite mode (old file should be removed first);
...
Added merging algorithm for block descriptions when refreshing descriptions list.
2016-10-02 16:17:22 +03:00