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

412 Commits

Author SHA1 Message Date
Victor Zarubkin
1a333e4f01 #0 [Gui] Large portion of refactoring; Replaced bunch of threads with thread pool; Small fixes for arbitrary values viewer 2018-01-28 20:52:17 +03:00
Victor Zarubkin
1f6d3c2a7d #31 [Gui] Arbitrary values viewer bug fixes 2018-01-28 02:01:49 +03:00
Victor Zarubkin
230f7d1463 #0 [Gui] Saving dialog geometry; Added refresh button to arbitrary values widget; Fixed zoom-in algorithm 2018-01-25 23:21:56 +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
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
Victor Zarubkin
b1bf6a1ac8 Older compiler build 2017-12-28 00:37:26 +03:00
Victor Zarubkin
4406664a7d #31 Basic arbitrary values viewer chart 2017-12-28 00:23:14 +03:00
Victor Zarubkin
b73044fddd #31 [Core] Fixed issue with storing arbitrary value while dumping. // [GUI] Further values viewer progress. 2017-12-14 23:12:27 +03:00
Victor Zarubkin
123358b798 #31 [GUI] Arbitrary values viewer begin. Refactoring. 2017-12-07 22:36:53 +03:00
Victor Zarubkin
2b24ea635f #0 [GUI] HierarchyTree: Finally replaced colored rows with colored squares in front of block name. These squares can not be turned off from now. 2017-12-06 22:04:08 +03:00
Victor Zarubkin
f03fa50dd5 #0 [GUI] Appearance 2017-12-05 21:53:14 +03:00
Victor Zarubkin
b11c68e71f #31 [GUI] Arbitrary values viewer progress 2017-12-04 20:29:45 +03:00
Victor Zarubkin
3b6986aa36 #0 [GUI] Appearance progress 2017-12-04 20:29:22 +03:00
Victor Zarubkin
d24e4a9e7e #31 [GUI] Arbitrary values viewer progress 2017-11-30 22:21:08 +03:00
Victor Zarubkin
df93c146b2 #0 [GUI] Windows styling and consterxpr fix for some Qt versions 2017-11-27 22:43:01 +03:00
Victor Zarubkin
e4305bf10b #0 [GUI] Styling and optimization 2017-11-27 22:02:15 +03:00
Victor Zarubkin
010ac07ce0 #0 [GUI] Styling. Themes. 2017-11-26 15:37:39 +03:00
Victor Zarubkin
a559bbe2c5 #0 [GUI] Styling 2017-11-23 22:15:12 +03:00
Victor Zarubkin
109c5fc47c #0 [GUI] Styling 2017-11-23 22:01:44 +03:00
Victor Zarubkin
66dce34169 #31 arbitrary value interface small refactoring 2017-11-20 23:36:33 +03:00
Victor Zarubkin
43df2d8636 #0 [GUI] Styling 2017-11-20 23:34:45 +03:00
Victor Zarubkin
5fdc4aa4e7 #0 [GUI] Warning fix: typo, forgotten return 2017-11-20 21:57:42 +03:00
Victor Zarubkin
86ed82aea4 #0 [GUI] Styling 2017-11-17 21:22:53 +03:00
Victor Zarubkin
aa1ddb44ca #0 [GUI] Styling 2017-11-16 22:32:28 +03:00
Victor Zarubkin
b3fd7c7837 #31 Single arbitrary values can be displayed in GUI as events + value converted to text 2017-11-15 21:43:52 +03:00
Victor Zarubkin
78186a82d0 #0 Build fix >:E 2017-11-10 00:01:43 +03:00
Victor Zarubkin
ae4c6c4e9f #0 [Core][GUI] refactoring 2017-11-09 23:34:17 +03:00
Victor Zarubkin
530eb2446c #0 [Core] A lot of code refactoring 2017-11-09 23:12:54 +03:00
Victor Zarubkin
a32d3576c6 #66 [GUI] fixed disconnection problem when hitting cancel-button while receiving data and there is no need to restart GUI after unexpected disconnect 2017-10-04 22:37:46 +03:00
Victor Zarubkin
3ab4b9e3c9 #0 [GUI] refactoring: removed SET_ICON macro 2017-10-04 21:38:18 +03:00
Victor Zarubkin
a3ba063e70 #68 fixed [GUI] scaling marker round problems 2017-09-28 22:12:32 +03:00
Sergey Yagovtsev
86f2ff0c71 #66: GUI crash fix 2017-09-18 13:05:45 +03:00
Valerio Varricchio
5ab683de76 One more typo ... 2017-09-06 11:13:42 +03:00
Victor Zarubkin
ba2a8533ab (GUI) Removed unused includes 2017-09-01 00:10:25 +03:00
Sergey Yagovtsev
2c963d8d06 Install profiler_gui and set rpath to ORIGIN 2017-09-01 00:01:53 +03:00
Oliver Daniell
f241444f1d Moved QFonts into EASY_GLOBALS and deferred instantiation of EASY_GLOBAS
until after QApplication.
2017-08-10 09:12:33 +01:00
Valerio Varricchio
a1aa8fc2e1 Some typos in warning boxes... 2017-07-31 23:22:10 +03:00
Victor Zarubkin
39d7937397 Update copyright in resources.rc 2017-06-19 00:54:27 +03:00
Rokas Kupstys
f007152d2c CMake script rework 2017-06-12 10:36:42 +03:00
Victor Zarubkin
fae8e4f748 #45 (GUI) Disabled address and port edits when connected 2017-06-09 09:15:56 +03:00
Sergey Yagovtsev
3cad41e63d fix #45 2017-06-08 18:52:51 +03:00
Victor Zarubkin
43b6d1312b (GUI) Added possibility to display only frames (top-level blocks) on histogram to be able to find unexpected blocks on top level. Use [Settings] -> [Only frames on histogram] 2017-06-07 02:08:53 +03:00
Victor Zarubkin
8c4e26e3ec (GUI) Fix compiler warning 2017-06-07 01:47:05 +03:00
Victor Zarubkin
93c3066095 update #42 : Slightly better solution with less amount of black magic - different data structures for context switch events. Core API changed! 2017-06-07 01:39:45 +03:00
Victor Zarubkin
4a9daf3bb4 update #42 : fixed possible statistics display bug; work around storing 64-bit thread id for context switch events (requires testing);
* (GUI) Added popup window when moving mouse cursor to thread name in Diagram window;
2017-06-06 20:46:06 +03:00
Victor Zarubkin
6e35381517 (GUI) Removed leading "../" from file names in BlocksList widget - now it is more compact and readable 2017-06-05 21:27:55 +03:00
Victor Zarubkin
089fcf1e31 (GUI) Added an option to display thread ids in HEX mode;
* (GUI) Fixed problem with searching selected blocks in histogram when selecting block from BlocksList widget
2017-06-05 21:26:10 +03:00
Victor Zarubkin
65ac892e32 Fixing problems after changing thread_id_t to uint64_t from uint32_t: There is still a big problem with target-thread ids of context-switch events on *nix systems (it has been stored in block_id_t which is uint32_t and now it requires Core API changes to support new thread_id_t). Also there is a problem with statistics displaying (for top-level blocks parent_index had value of thread-id, it requires a work around now). 2017-06-05 21:24:01 +03:00
Sergey Yagovtsev
35b4796a62 *nix build 2017-06-05 13:18:28 +03:00
Josh Engebretson
a01187cf55 Networking fixes for MacOS
Qualify type for std::abs
2017-05-23 19:47:29 +03:00
Victor Zarubkin
bf308dc299 (GUI) Fixed displaying unicode text in popup and at histogram window 2017-05-02 23:22:36 +03:00
Victor Zarubkin
35ca4ff370 (GUI) Display current opened file name at the window title;
* (GUI) Suggest save file name: using current system date and time as file name;
* (GUI) Checking for unsaved network session before opening new file and before exit.
2017-05-02 23:21:15 +03:00
Victor Zarubkin
e1bc731570 #37 enclosed MinGW specific 2017-05-01 04:03:26 +03:00
Victor Zarubkin
e862ba4c88 (GUI) #35 #33 Added "Use Right Mouse Button..." hint to Hierarchy window 2017-05-01 03:52:48 +03:00
Victor Zarubkin
4f941294fd (GUI) #37 replaced std::abs() with abs();
(GUI) Changed popup position on Diagram - now it is better positioned for small window also.
2017-04-30 01:09:06 +03:00
Victor Zarubkin
2e74f83569 (GUI) Displaying "total self %" (duration % excluding all children) per thread/frame/parent 2017-04-20 22:30:05 +03:00
Victor Zarubkin
c93464968e (GUI) Minor cosmetic changes to the FPS Monitor 2017-04-17 22:15:40 +03:00
Victor Zarubkin
c202bd8cac (GUI) Added additional field "Self" to the popup on Diagram. Self stands for "self duration" (duration excluding all children). 2017-04-17 22:14:51 +03:00
Victor Zarubkin
0466ee3e85 (GUI) Changed "Connect" button logic: if connected to the profiled application then additional click performs disconnect. Changed appropriate tool-tip.
(GUI) Clear FPS Monitor contents after successful connect.
2017-04-17 22:13:22 +03:00
Victor Zarubkin
b8360cd2c2 (GUI) Changed default options in globals 2017-04-17 22:09:53 +03:00
Victor Zarubkin
c7ba19cb4d (GUI) Fixed warnings 2017-04-10 22:04:09 +03:00
Victor Zarubkin
0d5acc75e2 Linux build: include math.h for fabs 2017-04-10 21:54:54 +03:00
Victor Zarubkin
cbb298dc19 (GUI) Added possibility to adjust selection boundaries with dragging (available for both rulers: black and blue) 2017-04-10 21:33:56 +03:00
Victor Zarubkin
631619865e (GUI) Minor changes to FPS Monitor: added antialiasing and possibility to change line width (via settings) 2017-04-05 22:37:40 +03:00
Victor Zarubkin
28cea458a4 (GUI) New icon for "Clear all" button 2017-04-05 22:34:18 +03:00
Victor Zarubkin
880b35e59a (GUI) FPS Monitor also works while capturing frames 2017-04-03 23:28:19 +03:00
Victor Zarubkin
beba74d559 (GUI) Added real-time FPS Monitor which shows current max/avg frame time in GUI even if profiler is disabled. You just need to connect to the profiled app. You can close (hide) FPS Monitor and it would not send network requests to the profiled application anymore. You can increase/decrease FPS Monitor requests interval in "Settings -> FPS Monitor -> Request interval, ms". Right click on FPS Monitor window to show context menu in which you can clear contents or hide FPS Monitor. 2017-04-03 23:16:36 +03:00
Victor Zarubkin
08372ac136 Update license 2017-03-30 06:55:15 +03:00
Victor Zarubkin
7f085ef8ac Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2017-03-30 06:49:06 +03:00
Victor Zarubkin
835e8f0a1f (GUI) Show capture dialog immediately if profiling session has been already enabled. You may now profile everything from the application launch (initialization etc.). 2017-03-30 06:48:58 +03:00
Sergey Yagovtsev
297174942f Relicense under dual MIT/Apache 2.0 2017-03-30 06:18:29 +03:00
Victor Zarubkin
73fc9d53e8 GUI.HierarchyWidget: changed column names to more compact versions 2017-03-17 00:32:47 +03:00
Victor Zarubkin
b5b743d9ad resolve #20 : You can now turn on an option "Automatically adjust histogram height" (in Settings/View) and histogram height will be adjusted automatically to the visible region (but this restricts you from adjusting manually in zoom mode) 2017-03-13 20:31:59 +03:00
Victor Zarubkin
378533fb9e update #20 : GUI.Histogram: changed interface - Shift + LMB-click (or Wheel) will change top boundary, Ctrl + LMB-click (or Wheel) will change bottom boundary, Any-modifier (Shift, Ctrl, Alt) + RMB-click will pick "Expected frame time" from histogram;
GUI.Histogram: fixed possible concurrent access violations;
GUI.Histogram: optimized histogram painting - preparing image in separate thread, no real-time operations.
2017-03-13 00:43:15 +03:00
Victor Zarubkin
1af9c1bacc GUI.Diagram: changed timeline scale color from gray to darkGray 2017-03-13 00:38:31 +03:00
Victor Zarubkin
620a4da8d3 GUI.Histogram: Fixed possible concurrent access violation; Fixed typos and misspelt words 2017-03-07 19:59:57 +03:00
Victor Zarubkin
ffca37d06d GUI.GraphicsView: Removed unused code 2017-03-07 19:53:09 +03:00
Victor Zarubkin
5e0180f399 amend last commit (adjusted width) 2017-03-07 01:33:43 +03:00
Victor Zarubkin
5efe8c1132 GUI: Changed current-scale indicator appearance (bottom right of the screen) 2017-03-07 01:30:48 +03:00
Victor Zarubkin
9c517c0201 Removed vertical spacing between blocks 2017-03-07 01:19:09 +03:00
Victor Zarubkin
df0ee6ead9 update #20 - Added possibility to change Expected-frame-time via histogram: use Ctrl + LMB 2017-03-07 01:15:25 +03:00
Victor Zarubkin
339f392e7e Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2017-03-07 00:31:13 +03:00
Victor Zarubkin
648930eba8 update #20 - first manual version of histogram boundary control: Shift + Mouse Wheel == adjust top boundary (max duration); Ctrl + Mouse Wheel == adjust bottom boundary (min duration) 2017-03-07 00:29:34 +03:00
Sergey Yagovtsev
15912970db replace double quotes to angle brackets - fixed #28 2017-03-05 23:50:38 +03:00
Sergey Yagovtsev
6c13b48873 Merge branch 'develop' of github.com:yse/easy_profiler into develop 2017-03-05 23:01:10 +03:00
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