0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00

207 Commits

Author SHA1 Message Date
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
b4494bcef9 [core] fix old msvc 2013 build 2019-10-23 02:26:00 +03:00
Victor Zarubkin
a3af57d26e [core] old msvc build 2019-10-23 02:04:27 +03:00
Victor Zarubkin
b23d21ffc8 [core] added median duration calculation 2019-10-23 01:55:47 +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
Sergey Yagovtsev
3be797b4ad Recreate socket on failed connection #154 2019-03-27 00:07:58 +03:00
Tobias Kalbitz
017ef6ad8b
Fix warning: Use nullptr instead 0 as pointer value. 2019-03-03 10:16:55 +01:00
Niraj Desai
19237c3c52 Support build with QNX 7.0 toolchain
Steps to build:

1. Source qnx700-env.sh
2. Use QNXToolchain.cmake to build:
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/QNXToolchain.cmake ../
2019-01-15 07:48:21 -08:00
Sergey Yagovtsev
9ff57440a8 fix build 2018-11-16 11:24:00 +03:00
Tal Shiri
c3b4ab124e Fix Android build
Android does not have libpthread, but instead exposes the pthread functions via Bionic
See: https://android.googlesource.com/platform/bionic/+/10ce969/libc/bionic/pthread.c
2018-11-05 23:27:34 -08:00
Victor Zarubkin
001a8258bf #134 [Core] fixed missing forward declaration and reordered some header files 2018-10-30 22:37:28 +03:00
Sergey Yagovtsev
cce8431484 Gramma fix #133 2018-10-04 13:10:42 +03:00
Joël R. Langlois
8865aabd70 Fixed compilation error on MIPS. #131 2018-10-04 09:58:12 +02:00
Sergey Yagovtsev
1eb2fa4fa2
Merge pull request #127 from mchiasson/patch-2
avoid leaking -std=gnu++11 flag to user's targets
2018-10-02 01:12:01 +03:00
Matt Chiasson
cccfc1bf55 avoid leaking -std=gnu++11 flag to user's targets
This fixes #126
2018-09-23 13:33:58 -04:00
Sergey Yagovtsev
53289cec81 Static thread local 2018-09-18 23:20:43 +03:00
Sergey Yagovtsev
99b761375b Remove ATOMIC_VAR_INIT 2018-09-18 22:41:58 +03:00
Matt Chiasson
cd84bb34ce
fixed the build when using Chrono clock
Fixes #128
2018-09-18 14:19:38 -04:00
Matt Chiasson
7935ec513f
fixed the libeasy_profiler.so deployment location
Fixes #123
2018-08-24 17:11:14 -04: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
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
8623fa81bb #108 fix [Core] clang build for arbitrary values 2018-05-15 23:56:59 +03:00
Victor Zarubkin
1301dd05dc #0 [Core] fixed typo 2018-05-15 23:56:29 +03:00
Victor Zarubkin
03db640132 #0 [Core] findRange() fix for writeTreesToStream() 2018-05-13 03:38:07 +03:00
Victor Zarubkin
84b391b6cc #0 [Core] refactoring 2018-05-08 21:14:46 +03:00
Victor Zarubkin
82bc0c3901 #0 [Core] Windows build 2018-05-08 01:37:35 +03:00
Victor Zarubkin
8c90ee7ef5 #0 [Core] refactoring 2018-05-07 21:42:17 +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
21bcefcb75 #91 [UI] .prof serializator (intermediate commit) 2018-04-23 21:23:47 +03:00
Victor Zarubkin
0b9ee4e6d0 Merge remote-tracking branch 'origin/develop' into saving_file_develop 2018-04-23 01:38:01 +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
f9c0b7dc7a #67 [Converter] Rewrote json converter, arbitrary values would be added soon 2018-04-05 01:08:18 +03:00
Victor Zarubkin
3253fe2633 #48 [Core] Rearranged file header members order to minimize padding;
[Core] Changed version to 2.0.0;
2018-04-02 01:53:29 +03:00
Victor Zarubkin
5e632bedee #31 [Core] Arbitrary values: replaced size_t with uint16_t; [Gui] Added support of arrays to arbitrary values tree 2018-03-07 20:52:39 +03:00
Victor Zarubkin
5ff6acd422 Merge remote-tracking branch 'origin/develop' into release_2_0_dev 2018-02-24 23:25:51 +03:00
derevnja
647eced7d2 Add command line tool (profiler_converter) for converting to json format
related to #67
2018-02-07 19:11:12 +03:00
Victor Zarubkin
192ab87e4c #0 Simplified some lambdas 2018-01-29 23:42:18 +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
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
694497b5ca Release 2.0 further work. Intermediate commit. 2018-01-20 15:23:28 +03:00
Victor Zarubkin
22c61a42b5 #75 [Core] No waiting when dumping blocks. All events should now be stored properly. 2018-01-08 02:56:51 +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
Victor Zarubkin
f9a132e9ee #0 [Core] Minor cosmetic changes 2018-01-04 17:38:59 +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
Sergey Yagovtsev
6e83f80f5b Install with include hierarhy 2017-12-29 17:12:08 +03:00
Victor Zarubkin
d049a1339e #75 [Core] No more waiting behavior when dumping blocks. Current solution resolves possible dead-lock but restricts any Events out of Frame bounds (You can see that the last event for LoadingResources thread in the profiler_sample is always absent). 2017-12-28 22:21:54 +03:00
Victor Zarubkin
6a74c76681 Windows build 2017-12-28 00:31:53 +03:00
Victor Zarubkin
4406664a7d #31 Basic arbitrary values viewer chart 2017-12-28 00:23:14 +03:00
Sergey Yagovtsev
941c5667bd minor refactoring 2017-12-28 00:00:20 +03:00