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
d550b91e56
(ProfileManager) THREAD_STORAGE is not creating in endBlock
2016-11-20 14:37:42 +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
Sergey Yagovtsev
62f53b855b
Remove broken pipe error code feom win build
2016-11-19 19:16:19 +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
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
46b295c67b
Prepare for release. Add rc-files and read version info from file
2016-11-16 23:58:47 +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
Sergey Yagovtsev
52d9e6a8e1
Correct package
2016-11-13 17:48:41 +03:00
Victor Zarubkin
493000cef4
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
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
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
8054c3ab6f
init thread storage on end block
2016-10-19 22:21:04 +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
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
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
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
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
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
c96a8c3a18
(profiler_core) Added "ThreadFinished" event
2016-09-23 23:51:49 +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
30de452113
Trying to fix problem with c++11 magic statics (there is no support for visual studio 2013 and earlier, gcc < 4.3 and clang < 2.9);
...
Wrapped "final" keyword for different compilers support;
Block descriptors now stored in unordered_map to make it easy to control theirs visibility level and to make it safe to unload dll/so during application execution.
2016-09-22 23:06: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
e49b6179ef
New flexible block statuses instead of ENABLED, DISABLED: OFF, ON, FORCE_ON, OFF_RECURSIVE, ON_WITHOUT_CHILDREN, FORCE_ON_WITHOUT_CHILDREN
2016-09-20 22:57:34 +03:00
Sergey Yagovtsev
4c73886233
common code for linux and windows
2016-09-20 00:57:47 +03:00