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

179 Commits

Author SHA1 Message Date
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
Victor Zarubkin
dc01c49020 Saving network data using temporary cache file + Question box when clicked on "Clear all" 2016-10-02 12:13:12 +03:00
Sergey Yagovtsev
76defe2372 Rename directory profiler to easy 2016-09-29 23:29:57 +03:00
Victor Zarubkin
3b7266fb37 Prepare for saving profiled data (does not work yet);
* Remastered tool-bars and menus;
* Added new painting regime (Settings->View->Hide narrow children)
2016-09-29 22:40:19 +03:00
Victor Zarubkin
eca7061fd0 Added menu Settings->Remote to control profiler event tracing and other future options 2016-09-28 00:37:20 +03:00
Victor Zarubkin
d099aa28bb Validating ip address 2016-09-27 23:45:33 +03:00
Victor Zarubkin
425ca67077 (EasyMainWindow) IP-Address validation 2016-09-27 22:43:02 +03:00
Victor Zarubkin
4a05cafab4 Writing signature and version into file to let reader check if file is valid;
* Added output messages
2016-09-27 22:28:04 +03:00
Victor Zarubkin
6e50f6517d (EasyMainWindow) save and restore last used ip-address and port 2016-09-27 21:57:46 +03:00
Victor Zarubkin
8fd70c5420 Many new features:
* Reading blocks from stream without temporary file;
* Reading blocks description from stream;
* Control blocks statuses over network: connect to the application, refresh blocks list, change block's status, launch profiling.
2016-09-25 11:49:49 +03:00
Victor Zarubkin
6cae6901de (profiler_gui) Removed unnecessary signals (rebuild may be needed) 2016-09-24 00:00:31 +03:00
Victor Zarubkin
583410c929 (profiler_gui) Added events indicators (like context switch events at the bottom of each thread) 2016-09-23 23:50:43 +03:00
Victor Zarubkin
79e503983c Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-21 22:09:09 +03:00
Victor Zarubkin
7f5b7c00a8 (profiler_gui) Added tool-button "Clear all";
(profiler_gui) Prepare for append blocks
2016-09-21 22:09:04 +03:00
Sergey Yagovtsev
7804cf8b92 Warning fix 2016-09-20 23:25:13 +03:00
Victor Zarubkin
d6269f17fe Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-20 22:57:52 +03:00
Victor Zarubkin
cd0ef96793 (EasyMainWindow) Adjust QLineEdit width on tool-bar 2016-09-20 22:30:39 +03:00
Sergey Yagovtsev
151c359f7f Linux build 2016-09-20 01:24:53 +03:00
Victor Zarubkin
89ff53c3c8 (profiler_gui) Main window refactoring 2016-09-18 20:20:37 +03:00
Sergey Yagovtsev
85e7145bf1 Merge commit 2016-09-18 19:02:12 +03:00
Sergey Yagovtsev
9b7b80febe Check if receive return zero - set it to disconnect 2016-09-18 18:33:10 +03:00
Sergey Yagovtsev
d2b4423c7b Remove obsolete code 2016-09-18 18:26:11 +03:00
Sergey Yagovtsev
a59a18be95 Some warning fix 2016-09-18 18:11:33 +03:00
Sergey Yagovtsev
2d4e22cc23 Add init and flush functions for EasySocket 2016-09-18 18:08:47 +03:00
Sergey Yagovtsev
c822809f4e Merge branch 'network_blocks' of github.com:yse/easy_profiler into network_blocks 2016-09-18 16:46:43 +03:00
Sergey Yagovtsev
9420f97a5a Set icon on connect 2016-09-18 16:46:35 +03:00
Sergey Yagovtsev
6939f053c9 Add checkResult function for socket 2016-09-18 16:43:43 +03:00
Victor Zarubkin
08a9cbf75d (profiler_gui) Save and restore windowState of EasyMainWindow;
(profiler_gui) Block descriptors list: added search box, search matches coloring, context menu event;
2016-09-17 18:43:06 +03:00
Victor Zarubkin
ef7469a880 (profiler_gui) First version of displaying and controlling blocks enable status 2016-09-17 15:39:31 +03:00
Sergey Yagovtsev
c316734e8f Fix disconnect problem on downloading 2016-09-16 22:51:15 +03:00
Sergey Yagovtsev
82079f43da linux client socket fix 2016-09-16 22:23:04 +03:00
Sergey Yagovtsev
c83fc4626b linux build 2016-09-16 02:12:56 +03:00
Sergey Yagovtsev
52a9862963 Correct receiving 2016-09-16 02:11:11 +03:00
Sergey Yagovtsev
f4676ced6f sleep for 1 second 2016-09-16 01:37:50 +03:00
Sergey Yagovtsev
4b71a64363 Merge commit 2016-09-16 00:53:27 +03:00
Victor Zarubkin
925e2f1b26 (profiler_gui) New style for icons 2016-09-15 23:56:20 +03:00
Sergey Yagovtsev
61589c1154 Merge commit 2016-09-15 22:49:56 +03:00
Victor Zarubkin
0166038e74 (profiler_gui) Enable/Disable statistics 2016-09-14 23:13:38 +03:00
Sergey Yagovtsev
80892e636e Receive by EasySocket 2016-09-14 22:04:15 +03:00
Victor Zarubkin
acad6b6b37 (profiler_gui) Added icons and main logo 2016-09-14 21:52:11 +03:00
Sergey Yagovtsev
6d6ad61a18 Add connect button 2016-09-13 21:42:38 +03:00
Sergey Yagovtsev
3181b867b1 Windows socket connection 2016-09-12 22:10:45 +03:00
Sergey Yagovtsev
0fe6690545 Add server function for EasySock 2016-09-12 21:28:15 +03:00
Sergey Yagovtsev
0a98d032d0 Windows almost work 2016-09-11 18:23:47 +03:00
Sergey Yagovtsev
a422f69deb More stability in networking 2016-09-08 23:15:01 +03:00
Sergey Yagovtsev
20d3fb47a6 First steps in network. Work on linux 2016-09-08 21:03:40 +03:00
Sergey Yagovtsev
68ee40a5ad Replace tab to whitespaces 2016-09-06 22:23:55 +03:00
Victor Zarubkin
591f613ff6 License text + small clean-up 2016-09-06 21:49:32 +03:00
Victor Zarubkin
b90e13509e small refactoring 2016-09-01 22:24:13 +03:00
Victor Zarubkin
cbcfe4c184 (EasyMainWindow) Memory leak issue 2016-08-30 23:15:16 +03:00
Victor Zarubkin
9560c5b5cf (profiler_gui) Memory consumption optimization + File reading speed-up. 2016-08-30 22:51:18 +03:00
Victor Zarubkin
4ff13053ec Remastering profiler API. Fixed read/write 2016-08-28 21:06:23 +03:00