Victor Zarubkin
5b7364b0bd
Flicker functionality for profiler gui on QWidgets
2016-07-27 22:52:13 +03:00
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
Victor Zarubkin
06192258ed
statistics move
2016-06-25 17:27:36 +03:00
Victor Zarubkin
2a1b7acfb9
prepare for statistics gathering and small refactoring with namespaces and comments
2016-06-25 17:24:29 +03:00
Victor Zarubkin
dba149c1e6
refactoring: proper types
2016-06-25 17:17:44 +03:00
Sergey Yagovtsev
0e26850408
New target with disabled profiler
2016-06-22 23:59:49 +03:00
Sergey Yagovtsev
e525df5254
Warning fix
2016-06-22 23:58:41 +03:00
Sergey Yagovtsev
281ba558ea
Warning fix
2016-06-22 23:58:07 +03:00
Sergey Yagovtsev
fb3837316c
Thread local for get current thread id
2016-06-22 23:57:11 +03:00
Sergey Yagovtsev
99fa9ffc5d
Add info about duration in ms
2016-06-21 22:08:11 +03:00
Sergey Yagovtsev
6999122455
Linux build
2016-06-21 00:13:45 +03:00
Sergey Yagovtsev
4d1d66a405
More info in reader
2016-06-20 23:33:14 +03:00
Sergey Yagovtsev
be11666ea3
Add inline function getCurrentThreadId
2016-06-20 23:21:54 +03:00
Sergey Yagovtsev
e61404c92c
Add function getThreadId
2016-06-20 23:10:14 +03:00
Sergey Yagovtsev
34307baca1
Add optimization 03
2016-06-20 22:56:38 +03:00
Sergey Yagovtsev
b26673b8ba
Build if profiler disabled
2016-06-20 22:43:45 +03:00
Sergey Yagovtsev
8c746fc991
Merge branch 'develop' of github.com:yse/easy_profiler into develop
2016-06-20 22:27:10 +03:00
Sergey Yagovtsev
f1cff4e4a1
Remove sleep in sample
2016-06-20 22:17:12 +03:00
Victor Zarubkin
bc496f7ecf
Typedef for children array type
2016-06-19 23:57:58 +03:00
Sergey Yagovtsev
f0a0b51a85
Add reader in profiler lib
2016-06-19 23:46:42 +03:00
Victor Zarubkin
a506a717cd
Moved declaration of BlocksTree to profiler/reader.h
2016-06-19 23:01:49 +03:00
Sergey Yagovtsev
5e1f390655
Remove pointer to parent
2016-06-19 22:37:17 +03:00
Sergey Yagovtsev
739bfb9a17
Remove unused lib
2016-06-19 22:30:17 +03:00
Sergey Yagovtsev
c09d928393
linux build
2016-06-19 22:28:17 +03:00
Sergey Yagovtsev
a9018888f1
Add more info for log
2016-06-17 18:49:09 +03:00
Sergey Yagovtsev
fda71f5351
linux build
2016-06-17 18:37:01 +03:00
Sergey Yagovtsev
aa39a0ad25
Deserialize tree
2016-06-17 18:09:40 +03:00
Sergey Yagovtsev
7713f91500
Create tree structure
2016-06-17 16:31:09 +03:00
Sergey Yagovtsev
5f96b6403c
Remove abs path
2016-06-10 23:45:21 +03:00
Sergey Yagovtsev
6d94573403
Add percent column
2016-05-06 00:30:31 +03:00
Sergey Yagovtsev
dfa583f410
Simple tree view
2016-05-01 23:32:46 +03:00
Sergey Yagovtsev
3d2ed40f54
add profiler gui
2016-04-29 16:13:32 +03:00
Sergey Yagovtsev
a056a68e5b
Set output dir for archives
2016-03-21 06:22:48 +03:00
Sergey Yagovtsev
b29509c8a9
Add color for sample application
2016-03-04 12:17:50 +03:00
Sergey Yagovtsev
691c2953a4
Change color type. Now color is 8bit instead of 16bit. Add helper function for converting to RGB
2016-03-04 11:59:36 +03:00
Sergey Yagovtsev
2266de8346
Add more colors
2016-03-03 16:22:48 +03:00
Sergey Yagovtsev
309da55899
Move colors enumenator to main header
2016-03-03 15:48:00 +03:00
Sergey Yagovtsev
9fa0b890d8
Add colors header
2016-03-03 15:35:23 +03:00
Sergey Yagovtsev
b422da141d
1) Add documentation
...
2) Fix win warnings
2016-03-03 14:55:38 +03:00
Sergey Yagovtsev
4d1c6a0228
Set end of mark in constructor and test output to file on profile manager destructor
2016-02-20 18:17:00 +03:00
Sergey Yagovtsev
0d986a6464
Move serialized block in header
2016-02-24 06:31:05 +03:00
Sergey Yagovtsev
c6c09dbe32
Added reader example
2016-02-24 06:30:13 +03:00
Sergey Yagovtsev
5dfb456176
Linux runtime fix
2016-02-24 00:08:13 +03:00
Sergey Yagovtsev
98f3da5122
Linux build
2016-02-20 19:21:14 +03:00
Sergey Yagovtsev
9cf3ca02b7
1) Removed Mark entity. Only Block with type
...
2) Added simple implementation of serializing blocks and storing it.
2016-02-20 05:24:12 +03:00
Sergey Yagovtsev
d12ff7fb67
Added test script
2016-02-18 23:52:28 +03:00
Sergey Yagovtsev
3dbb675017
More sophisticated sample
2016-02-18 23:50:10 +03:00
Sergey Yagovtsev
2bba307998
Added empty profiler macros. Enabled if defined FULL_DISABLE_PROFILER definition
2016-02-18 23:50:06 +03:00
Sergey Yagovtsev
dbe5af1125
Added logic of push/pop blocks
2016-02-18 19:27:17 +03:00
Smirnov Kirill
561f79e8e6
Some changes to Singleton implementation
2016-02-17 18:18:06 +03:00
Sergey Yagovtsev
1f80b87816
First steps in the sample app
2016-02-18 00:49:32 +03:00