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

736 Commits

Author SHA1 Message Date
Sergey Yagovtsev
2ddfa4db68 win build 2016-11-28 22:58:16 +03:00
Sergey Yagovtsev
f0d0859cb1 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-11-27 14:26:08 +03:00
Sergey Yagovtsev
f788071003 Check thread expired on linux and add new message in easy_net 2016-11-27 14:26:00 +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
53fd4df281 Amend last commit 2016-11-23 22:51:11 +03:00
Victor Zarubkin
0c332b9609 Correct checking for thread_name 2016-11-23 22:16:53 +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
7ae518e1d0 (profiler core) Manually check if thread exist or not. Changed EASY_THREAD behavior: it does not create ThreadGuard and can be invoked from every function you like. Added macro EASY_THREAD_SCOPE which behaves like an old EASY_THREAD macro (creates ThreadGuard). 2016-11-20 17:09:50 +03:00
Victor Zarubkin
63f77efcf1 (ProfileManager) Fixed stack logic mistake 2016-11-20 15:18:51 +03:00
Victor Zarubkin
4d13e689f8 changed default value 2016-11-20 14:39:01 +03:00
Victor Zarubkin
d550b91e56 (ProfileManager) THREAD_STORAGE is not creating in endBlock 2016-11-20 14:37:42 +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
097723848f Define EASY_PROFILER_PRODUCT_VERSION in cmake 2016-11-20 09:25:40 +03:00
Sergey Yagovtsev
648ec8676c Rename PRODUCT_VERSION define 2016-11-19 19:29:57 +03:00
Sergey Yagovtsev
c00cfaa630 Add apache license text to some headers 2016-11-19 19:29:35 +03:00
Sergey Yagovtsev
62f53b855b Remove broken pipe error code feom win build 2016-11-19 19:16:19 +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
cdea3b805f Windows build: CONNECTION_BROKEN_PIPE and CONNECTION_ABORTED has the same value 2016-11-19 02:28:10 +03:00
Victor Zarubkin
1af4fa0887 profile_manager.cpp: removed unused trash 2016-11-19 02:27:25 +03:00
Victor Zarubkin
03587cb45b (EasyGraphicsItem) Painting optimization 2016-11-19 02:26:54 +03:00
Sergey Yagovtsev
c08c870b58 Check aborted connection while capturing 2016-11-18 23:12:29 +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
4ce4987090 Package name for linux 2016-11-13 18:17:35 +03:00
Sergey Yagovtsev
52d9e6a8e1 Correct package 2016-11-13 17:48:41 +03:00
Sergey Yagovtsev
c16c1a79aa Add version shield 2016-11-13 17:34:19 +03:00
Victor Zarubkin
493000cef4 v1.0.0 v1.0.0 2016-11-13 16:48:50 +03:00
Sergey Yagovtsev
e5041a9b2b Multi-licensing in source codes 2016-11-13 16:39:59 +03:00
Sergey Yagovtsev
d692234f99 Add apache license text 2016-11-13 16:31:27 +03:00
Victor Zarubkin
fca1a9c873 Update README.md 2016-11-13 15:54:06 +03:00
Victor Zarubkin
9b0e7fabc5 g++ warnings fix 2016-11-13 15:20:25 +03:00
Victor Zarubkin
afbc46b607 Trying to fix sdk build 2016-11-13 15:04:00 +03:00
Victor Zarubkin
bf54ca76d8 Added QtSvg into travis build 2016-11-13 14:32:02 +03:00
Victor Zarubkin
384bdac1d0 Fixed temporary link to screenshot in README.md 2016-11-06 17:05:53 +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
Victor Zarubkin
7fb8b2d539 Update README.md 2016-11-06 03:56:30 +03:00
Victor Zarubkin
4ab09696c0 Added screenshot into readme 2016-11-05 19:24:12 +03:00
Sergey Yagovtsev
e03b720290 Prepare for make package by cpack 2016-11-02 22:37:51 +03:00
Sergey Yagovtsev
064a486be8 disable clang 2016-10-21 23:45:37 +03:00
Sergey Yagovtsev
37a25f5df4 travis fix type 2016-10-21 23:33:31 +03:00
Sergey Yagovtsev
4bb5f45c70 travis build 2016-10-21 23:33:24 +03:00
Sergey Yagovtsev
1753a32b5e travis build 2016-10-21 23:28:40 +03:00
Sergey Yagovtsev
35b92fb46b Travis attempt 2016-10-21 23:26:03 +03:00
Sergey Yagovtsev
20b28cd7a9 Set modern compiler for travis 2016-10-21 23:15:46 +03:00
Sergey Yagovtsev
49091c73ca Update Readme 2016-10-21 22:21:25 +03:00
Sergey Yagovtsev
f8ab7f0d91 Merge remote-tracking branch 'origin/develop' into rename_to_easy 2016-10-21 22:15:32 +03:00
Sergey Yagovtsev
0f182fef1b Merge branch 'develop' of github.com:yse/easy_profiler into develop 2016-10-19 22:22:01 +03:00
Victor Zarubkin
8054c3ab6f init thread storage on end block 2016-10-19 22:21:04 +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
817083d3ff Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-29 23:20:48 +03:00
Sergey Yagovtsev
b3be5c85a5 Update README.md 2016-09-30 00:12:36 +04:00
Sergey Yagovtsev
477e643040 Disable EasyProfiler by default. For building with profiler define macro BUILD_WITH_EASY_PROFILER 2016-09-29 23:08:20 +03:00
Sergey Yagovtsev
5b6c9210c7 For previous commit 2016-09-29 22:57:14 +03:00
Sergey Yagovtsev
c4e553c4bb Same interface for win and linux 2016-09-29 22:54:54 +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
66a8f7804c Merge branch 'develop' of https://github.com/yse/easy_profiler into develop
# Conflicts:
#	profiler_gui/main_window.cpp
2016-09-27 23:24:50 +03:00
Sergey Yagovtsev
3e4abf9f58 Connect on win platform 2016-09-27 23:14:00 +03:00
Sergey Yagovtsev
fd9a172b9b Connect by non-blocking socket 2016-09-27 23:00:49 +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
e317d006a0 Linux build without copy 2016-09-27 01:07:13 +03:00
Victor Zarubkin
7e4e921403 Linux build: have to COPY file contents. Sad :( 2016-09-27 00:51:45 +03:00
Victor Zarubkin
15ba83cb20 Linux build 2016-09-27 00:12:28 +03:00
Victor Zarubkin
db5a866c0d Windows build 2016-09-26 23:54:20 +03:00
Victor Zarubkin
46a9caddb8 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-26 23:52:05 +03:00
Sergey Yagovtsev
bf74e673fc Move getCurrentTime function in separate header 2016-09-26 23:23:38 +03:00
Sergey Yagovtsev
f9b594918f Add function for x86 and x64 arch 2016-09-26 23:11:25 +03:00
Sergey Yagovtsev
7b21801b65 Add sorting to test script and calculate usec/block 2016-09-26 22:11:13 +03:00
Sergey Yagovtsev
dfd5c6ba4b Update README.md 2016-09-26 22:00:22 +03:00
Victor Zarubkin
f539dd3858 (EasyTreeWidget) tool-tips for blocks statuses 2016-09-25 11:51:39 +03:00
Victor Zarubkin
c53a8d4cb9 (EasyGraphicsView) additional offset before first block and after last block for ease of view 2016-09-25 11:50:57 +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
485cec2b4f More correct version of reader interruption 2016-09-24 00:26:56 +03:00
Victor Zarubkin
e600c2f5cd begin/end time for Linux too 2016-09-24 00:15:33 +03:00
Victor Zarubkin
6cae6901de (profiler_gui) Removed unnecessary signals (rebuild may be needed) 2016-09-24 00:00:31 +03:00