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

324 Commits

Author SHA1 Message Date
Sergey Yagovtsev
55000a6325 fixed #27 2017-03-05 22:59:03 +03:00
Victor Zarubkin
973c03f5f5 Removed unused old sources 2017-03-05 11:18:26 +03:00
Victor Zarubkin
c2a4ae3f83 GUI: Removed unused status-bar 2017-02-15 21:45:14 +03:00
Victor Zarubkin
0e6f12e6a2 Icons refactoring and change company name 2017-02-14 22:22:16 +03:00
Victor Zarubkin
6d3a4a0aed MinGW build fixes: Thanks to https://github.com/Nitrotoluol for help! 2017-02-14 21:22:26 +03:00
Victor Zarubkin
c0a23866ed Cross-compiler way of C++11 standard requirement (NOTICE: Need to test on Unix systems) 2017-02-08 21:47:20 +03:00
Victor Zarubkin
c3c9ac8250 Changed default value for minimum blocks width for GUI 2017-02-08 21:47:11 +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
365d1608be (GUI) Fixed wrong hierarchy tree building in "Plain mode" (not all blocks were added) 2016-12-27 22:33:10 +03:00
Victor Zarubkin
bf7bf10b80 (GUI) Less buggy and more efficient recursive painting algorithm for blocks at diagram. Test mode.
Note: with recursive algorithm it is possible to iterate through blocks in parallel to make painting just more efficient - this is my future todo
2016-12-27 22:07:44 +03:00
Victor Zarubkin
b3045c1b68 (GUI) Hystogram painting improvement 2016-12-27 20:53:16 +03:00
Victor Zarubkin
179aee62fc amend last commit 2016-12-21 23:21:35 +03:00
Victor Zarubkin
4078fe2a4a (GUI) Blocks/files list widget search fix: files are highlighted too 2016-12-21 23:19:22 +03:00
Victor Zarubkin
6d59c53f7a (GUI) Fixed wrong window size calculation for hystogram window 2016-12-21 22:40:06 +03:00
Victor Zarubkin
649eda5641 (GUI) Small alignment fixes 2016-12-21 21:45:11 +03: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
0a57ff381c (GUI) Please, read NOTICE for that commit.
1) Added active time calculation (this is duration excluding context switch time).
2) Columns "Duration", "Self Dur.", "Self %", "% / Frame", "Active time", "Active %" in Plain mode shows total values per frame (sum of all values per frame).
2016-12-18 17:59:41 +03:00
Victor Zarubkin
e5dccfb8be (GUI) Added hierarchy window mode: full hierarchy, plain mode (only functions list) 2016-12-18 15:56:08 +03:00
Victor Zarubkin
1ac9c5c2a0 (EasyHystogramItem) Do not check events when calculating block min duration for selected thread 2016-12-17 16:32:39 +03:00
Victor Zarubkin
d85f9864d6 (GUI) Added statistics gathering for context switches (calls number, total duration, % per thread or frame).
Known issue: if context switch events occur out of profiled blocks then percent/thread may be calculated wrong as it is calculating relative to thread profiled time (which may be a very low value).
2016-12-14 23:17:02 +03:00
Victor Zarubkin
7883371166 (GUI) Added calculation of thread wait time (sum of all context switches) 2016-12-14 22:16:14 +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
b67e078e55 (GUI) Fixed division by zero;
* (GUI) Displaying blocks number on hystogram for selected thread
2016-12-12 22:28:54 +03:00
Victor Zarubkin
d88b747c33 Valid version check 2016-12-12 22:26:50 +03:00
Victor Zarubkin
3f64b9fb1c (GUI) Added average time into summary popup 2016-12-12 21:41:48 +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
88dc699099 No need to check for nullptr while deleting 2016-12-08 22:19:45 +03:00
Victor Zarubkin
c9d3169dbf (EasyGraphicsView) minor alignment fixes 2016-12-07 23:32:10 +03:00
Victor Zarubkin
d0c847da1d (EasyGraphicsView) Additional 5% offset before first and after last block;
* (EasyGraphicsView) Scroll to the first block after opening file;
2016-12-07 23:28:15 +03:00
Victor Zarubkin
0a4f9b0f43 (GUI) similar blocks highlighting fix;
(EasyDescTreeWidget) tree build fix;
2016-12-07 22:40:45 +03:00
Victor Zarubkin
46c4867b2d (EasyHystogramItem) updating image after window resize 2016-12-07 22:35:37 +03:00
Victor Zarubkin
b33faa571e (EasyHystogramItem) Display hystogram mode (MODE: overview // MODE: zoom);
* (EasyHystogramItem) Changed colors calculation method;
2016-12-07 22:29:16 +03:00
Victor Zarubkin
3c72d5d94d minor fixes 2016-12-04 19:17:28 +03:00
Victor Zarubkin
f9e8138c36 gcc warnings fix 2016-12-04 18:40:46 +03:00
Victor Zarubkin
e388c8e08e Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-12-04 17:02:01 +03:00
Sergey Yagovtsev
4539addae2 warning fix 2016-12-04 16:59:34 +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
Sergey Yagovtsev
cbbf570fae Define EASY_PRODUCT_VERSION by concatenating major, minor and patch strings 2016-12-04 16:40:00 +03:00
Sergey Yagovtsev
f4d4cbecfa Merge branch 'develop' of github.com:yse/easy_profiler into develop 2016-12-02 00:09:31 +03:00
Sergey Yagovtsev
5537eb290d More convenient build scripts. 2016-12-02 00:08:25 +03:00
Victor Zarubkin
ced93de1b3 (EasyGraphicsView) New popup window for blocks 2016-12-01 23:31:40 +03:00
Victor Zarubkin
acb197557f (EasyGraphicsView) Added possibility to scroll thread names list with mouse wheel 2016-12-01 22:27:25 +03:00
Victor Zarubkin
33bd7256ab (EasyGraphicsView) Scroll to main thread after file load 2016-12-01 22:20:34 +03:00
Victor Zarubkin
02e43a2b45 (EasyGraphicsScrollbar) Displaying text with minimum and maximum duration of frames 2016-12-01 21:55:11 +03:00
Victor Zarubkin
a2ae2dd051 (EasyGraphicsItem) Changed sync events minimum size 2016-12-01 21:53:06 +03:00
Victor Zarubkin
02349afe8b (EasyGraphicsView) Fixed timeline scale indicator text;
* (EasyGraphicsView) Fixed longest thread selection;
2016-12-01 21:52:29 +03:00
Victor Zarubkin
4dcb769ba2 (EasyGraphicsScrollbar) Added possibility to scale minimap to the current visible area (click mouse right button on minimap) 2016-11-30 22:37:11 +03:00
Victor Zarubkin
045f464e1f (EasyGraphicsView) Chronometer line style reset fix 2016-11-30 22:22:58 +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
b63cc382bd (EasyGraphicsItem) increased events interval 2016-11-26 17:15:08 +03:00
Victor Zarubkin
0658540109 (EasyGraphicsView) Important fix: fixed wrong indexing on paint 2016-11-26 17:00:05 +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
f1017c3ed4 (GUI) Added possibility to do case sensitive search into blocks descriptions list and hierarchy window 2016-11-20 21:40:05 +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
a08b986418 (EasyDescTreeWidget) Expanded files in blocks list remain expanded after refresh 2016-11-20 18:34:31 +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
4d13e689f8 changed default value 2016-11-20 14:39:01 +03:00
Victor Zarubkin
21a7898572 removed unnecessary lambdas 2016-11-20 14:11:46 +03:00
Victor Zarubkin
752f0c08a8 Added possibility to build easy_profiler with empty API implementation to avoid whole solution rebuild if you want to build without profiler;
* resources.rc changes: proper macro names + copyright sign;
2016-11-20 13:42:05 +03:00
Sergey Yagovtsev
648ec8676c Rename PRODUCT_VERSION define 2016-11-19 19:29:57 +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
Victor Zarubkin
ed3e26a59c GUI: Blocks painting algorithm optimization for detailed mode 2016-11-19 03:46:52 +03:00
Victor Zarubkin
03587cb45b (EasyGraphicsItem) Painting optimization 2016-11-19 02:26:54 +03:00
Sergey Yagovtsev
b1e6bef056 Check connection in GUI 2016-11-18 22:58:44 +03:00
Sergey Yagovtsev
e4879d46dd REmove obsolete code 2016-11-18 22:04:33 +03:00
Sergey Yagovtsev
e60c46b710 Remove dependencies from QtNetwork 2016-11-17 00:19:06 +03:00
Sergey Yagovtsev
46b295c67b Prepare for release. Add rc-files and read version info from file 2016-11-16 23:58:47 +03:00
Victor Zarubkin
5c4904756f (EasyGraphicsScrollbar) Changed dash-line color to black for better perception 2016-11-16 23:13:43 +03:00
Victor Zarubkin
7e3d27a580 (EasyGraphicsScrollbar) Minimap optimization 2016-11-16 22:28:38 +03:00
Victor Zarubkin
07b78ea92f Moved version definition to CMakeLists.txt, added functions for getting profiler version 2016-11-16 22:17:39 +03:00
Victor Zarubkin
776039f543 (EasyGraphicsScrollbar) Tweaking colors coefficients 2016-11-13 22:16:50 +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
e03b720290 Prepare for make package by cpack 2016-11-02 22:37:51 +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
01b946f396 Thread names change 2016-10-02 17:52:42 +03:00
Victor Zarubkin
bc83a837f7 New icons 2016-10-02 17:52:14 +03:00
Victor Zarubkin
19966b40c6 Crash fix 2016-10-02 17:45:55 +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
4eef4daf30 Minor refactoring 2016-10-02 12:33:08 +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