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

214 Commits

Author SHA1 Message Date
Ming Li
67edc2d77f Rename the function now() as well 2024-08-28 20:55:26 +02:00
Ming Li
36eb9a0d91 rename function names related to versions.
The current function name is quite generic and it's easy to conflict
with other functions in a project since they're C functions
2020-09-08 15:01:04 +02:00
Sergey Yagovtsev
bb889d4d31 Add bazel build for easy profiler core 2019-12-02 19:51:25 +03:00
Victor Zarubkin
d1aee7f9b5 [core] Replaced usage of COMPILER_MSVC with _MSC_VER 2019-10-30 19:14:51 +03:00
Victor Zarubkin
defca63809 [core] fix old windows build 2019-10-30 09:34:17 +03:00
Victor Zarubkin
20ee8340dd [core] fix old windows build 2019-10-30 09:19:10 +03:00
Victor Zarubkin
272c0ceab1 [ui] fixed slider freeze after load new file in "Zoom" mode;
[core] #157 added new build flag EASY_OPTION_TRUNCATE_RUNTIME_NAMES which will prevent from crash for very big block names, but will reduce performance. Disabled by default because of very rare use case;
[core] #157 added new build flag EASY_OPTION_CHECK_MAX_VALUE_SIZE for EASY_VALUE arrays and strings - same as the flag above for block names. Also disabled by default;
2019-10-28 19:14:05 +03:00
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