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

255 Commits

Author SHA1 Message Date
Victor Zarubkin
03fb3f271f Scene paint fixes and optimization 2016-07-27 21:50:11 +03:00
Victor Zarubkin
9a616fc693 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop
# Conflicts:
#	profiler_gui/main_window.cpp
#	src/reader.cpp
2016-07-10 01:36:02 +03:00
Victor Zarubkin
3978535a99 Added GraphicsScrollbar (still in development phase) for big graphics scene. Standard QScrollBar's int value gets overflow very fast when doing zoom-in for graphics scene. So it is necessary to create a Scrollbar with double value. 2016-07-10 01:31:45 +03:00
Victor Zarubkin
f734104280 (GraphicsView) New draw method with one GraphicsItem for the whole scene (testing) 2016-07-10 01:31:29 +03:00
Victor Zarubkin
8b4bd91147 (profiler reader) Added calculation of maximum depth of the BlocksTree;
* Also added header into reader.cpp and added comments.
2016-07-10 01:31:06 +03:00
Victor Zarubkin
2939f07c2a changed random seed 2016-07-10 01:15:41 +03:00
Sergey Yagovtsev
d4b052127a Add command line parameters for reader. First parameters is file for reading and second is file for profiling dumping 2016-07-04 22:55:04 +03:00
Sergey Yagovtsev
23a94d94e2 Add profiling blocks for reader 2016-07-04 22:53:48 +03:00
Sergey Yagovtsev
82e9920e15 Add dumpBLocksToFile function 2016-07-04 22:53:02 +03:00
Sergey Yagovtsev
980edd631a Optimized reader 2016-07-04 21:44:07 +03:00
Sergey Yagovtsev
d356629e33 Open file by command line argument 2016-06-30 21:39:04 +03:00
Victor Zarubkin
fa270ea3f2 (GraphicsView) More effective memory consumption 2016-06-30 03:45:11 +03:00
Victor Zarubkin
5ca4158abf Highly optimized painting algorithm and memory consumption for Profiler GraphicsView 2016-06-30 02:57:57 +03:00
Victor Zarubkin
4b287b31fa (BlocksTree) Reading total number of children (including grandchildren and so on) 2016-06-29 20:31:17 +03:00
Sergey
4ff66ff827 Update README.md 2016-06-29 07:45:11 +04:00
Sergey Yagovtsev
e4f7e3866f modify package for travis - one more iteration... 2016-06-29 07:25:23 +04:00
Sergey Yagovtsev
6eb9922891 modify package for travis 2016-06-29 07:10:23 +04:00
Sergey Yagovtsev
3e5173b6e6 modify package for travis 2016-06-29 07:08:41 +04:00
Sergey Yagovtsev
33e2990dfd packages for travis 2016-06-29 07:03:01 +04:00
Sergey Yagovtsev
6b600a4604 Upgrade compiler in travis 2016-06-29 07:01:34 +04:00
Sergey Yagovtsev
d8569333b2 add qt5 to travis 2016-06-29 06:59:06 +04:00
Sergey Yagovtsev
b422379683 try update travis cmake version 2016-06-29 06:57:06 +04:00
Sergey Yagovtsev
17c69cee7d check travis cmake version 2016-06-29 06:55:12 +04:00
Sergey Yagovtsev
727da87ee2 add travis configuration file 2016-06-29 06:52:23 +04:00
Sergey
323d4297ce Create README.md 2016-06-29 06:47:50 +04:00
Victor Zarubkin
8b2100a3d6 correct comment 2016-06-27 23:24:04 +03:00
Victor Zarubkin
30d9e7645f (Graphics view) Disabled border lines painting because of vertical lines painting bug;
* (Graphics view) Changed height of blocks. Variable thread-block height;
* (Tree widget) Disabled sorting by name to save order of threads displayed on graphics view;
* (Profiler reader) Changed type of value returned by fillTreesFromFile().
2016-06-27 23:22:12 +03:00
Victor Zarubkin
98cb124c4e (Graphics View) Added text shifting relatively to it's parent item. 2016-06-27 22:17:43 +03:00
Victor Zarubkin
89766e83b1 (Tree widget) Added possibility to colorize rows with profiler blocks' colors;
* (Tree widget) Added displaying frame statistics for blocks.
2016-06-27 22:11:26 +03:00
Sergey Yagovtsev
d5416fede8 Clang warning fix 2016-06-26 22:34:51 +03:00
Victor Zarubkin
ef4a62cbe3 inverse colors for text items 2016-06-26 22:16:36 +03:00
Sergey Yagovtsev
95d13e98f1 linux build 2016-06-26 21:14:15 +03:00
Sergey Yagovtsev
415ef43bbb Gather statistic for root nodes 2016-06-26 21:04:24 +03:00
Victor Zarubkin
e6c105561a added main window with both graphics view and tree widget;
* further improvement of graphics view: highly improved scene scaling and added scene drag with left mouse button pressed.
2016-06-26 20:54:16 +03:00
Victor Zarubkin
98035ae705 renamed gui classes from My* to Prof* 2016-06-26 19:06:53 +03:00
Victor Zarubkin
1435e80cef added headers for source files 2016-06-26 18:56:40 +03:00
Victor Zarubkin
1d66f4f641 moved gui sources to .h and .cpp 2016-06-26 18:46:51 +03:00
Victor Zarubkin
e412977f99 default sorting order for tree widget and resizeColumnToContents on items expand 2016-06-26 17:56:57 +03:00
Victor Zarubkin
ba9944b83f added collapseAll, expandAll and jump-to-min-item actions to tree widget 2016-06-26 17:33:43 +03:00
Victor Zarubkin
6b93a6635f added tree widget view for profiled blocks 2016-06-26 13:14:00 +03:00
Victor Zarubkin
a8df818b33 profiler gui: first steps 2016-06-26 12:48:59 +03:00
Victor Zarubkin
c5b7399eab removed condition variable waiting because all threads were aligned into one chain, waiting each other.
* modified sample functions: added heavy memory allocation operations.
2016-06-26 12:47:39 +03:00
Victor Zarubkin
d997a48989 gather statistics 2016-06-26 12:45:21 +03:00
Victor Zarubkin
9d9cbc4413 long loops instead of sleep for test.prof 2016-06-26 02:16:50 +03:00
Victor Zarubkin
36ec598697 statistics gathering 2016-06-26 02:15:39 +03:00
Victor Zarubkin
94add93883 const modifiers for const methods 2016-06-26 02:12:27 +03:00
Victor Zarubkin
66d8a1b8f1 using std::list instead of std::vector is near twice faster 2016-06-26 00:58:40 +03:00
Victor Zarubkin
bd09a0173f statistics gathering 2016-06-26 00:56:24 +03:00
Victor Zarubkin
aa8fde2434 removed unnecessary memory allocation 2016-06-25 23:10:05 +03:00
Victor Zarubkin
f2a1c8bf30 fixed potential memory leak on move operator 2016-06-25 17:30:39 +03:00