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

Commit Graph

  • 7d542cadda Ubuntu build Sergey Yagovtsev 2016-08-19 01:40:14 +03:00
  • fffb18ca3a One more travis attempt number 60 Sergey Yagovtsev 2016-08-19 01:33:40 +03:00
  • 3af94fb002 One more travis attempt. Almost working Sergey Yagovtsev 2016-08-19 01:25:30 +03:00
  • 3e9f3811f9 One more travis attempt Sergey Yagovtsev 2016-08-19 01:19:41 +03:00
  • a682c0c35d One more travis attempt Sergey Yagovtsev 2016-08-19 01:08:20 +03:00
  • 843a692be6 Build travis empty commit Sergey Yagovtsev 2016-08-19 00:56:40 +03:00
  • 0ba6612a21 Travis one more attempt Sergey Yagovtsev 2016-08-19 00:53:23 +03:00
  • 9f6ca63440 (profiler core) fix clang static analyzer warnings Sergey Yagovtsev 2016-08-19 00:35:31 +03:00
  • 485c2a64ac (profiler gui) fix potencial zero pointer Sergey Yagovtsev 2016-08-19 00:35:20 +03:00
  • 7a87d681a1 (profiler gui) fix style warning by cppcheck analizer Sergey Yagovtsev 2016-08-19 00:35:05 +03:00
  • fa15edf2ea Linux build Sergey Yagovtsev 2016-08-18 23:50:53 +03:00
  • be54030b1a Merge branch 'serialized_optimize' of https://github.com/yse/easy_profiler into serialized_optimize Victor Zarubkin 2016-08-18 23:26:54 +03:00
  • 8f30948105 (profiler_gui) Reading file (MainWindow) and building blocks hierarchy (TreeWidget) in separate threads + displaying read progress; (profiler_gui) Moving sources into separate files; (profiler_gui) Rename Prof* classes into Easy*; (EasyGraphicsView) Optimized performance by not painting items which were not expanded in TreeWidget. While there are no range selected for TreeWidget, only top-level blocks are painted on scene. Victor Zarubkin 2016-08-18 23:26:41 +03:00
  • 8c53d65362 (profiler core) Remove clang warning. Remove useless 2 bytes in memory per block Victor Zarubkin 2016-08-14 23:13:18 +03:00
  • 197a585307 (profiler core) Warning: .prof file format changed! New SerializedBlock format, less allocations and copy, only single allocation in fillTreesFromFile(). Memory consumption reduced. Also speed up statistics gathering by moving calculations into several threads. Victor Zarubkin 2016-08-14 22:22:44 +03:00
  • 13997f6187 (profiler core) revert variables order change (prevois change may affect file read/write) Victor Zarubkin 2016-08-14 16:50:17 +03:00
  • bcfa8d362d (profiler sample) Default value changed for OBJECTS Victor Zarubkin 2016-08-14 16:05:40 +03:00
  • d38c869330 Memory consumtion optimization (almost 2 times less memory used on Windows) Victor Zarubkin 2016-08-14 16:05:10 +03:00
  • 3fd0b77d16 (profiler core) Prepare for source file and line writing Victor Zarubkin 2016-08-11 23:52:33 +03:00
  • cdd74503eb (ProfGraphicsScrollbar) overflow guard (it seems that this is because of floating point precision) Victor Zarubkin 2016-08-11 23:48:29 +03:00
  • 24f181c040 (profiler GUI) high memory consumption optimizations: ~20 bytes per block Victor Zarubkin 2016-08-11 23:43:34 +03:00
  • 6df717781a Sample with more real blocks Sergey Yagovtsev 2016-08-10 22:38:55 +03:00
  • 9f48bf6e21 (profiler_gui) refactoring; (ProfGraphicsView) Added separate background drawer item; Added timeline scale drawing; Victor Zarubkin 2016-08-10 22:08:27 +03:00
  • d8ccff0788 (profiler_gui/globals.h) auto toUnicode() return type Victor Zarubkin 2016-08-09 01:29:24 +03:00
  • 66709981a8 (ProfGraphicsView) Fixed Windows compile errors Victor Zarubkin 2016-08-09 01:24:49 +03:00
  • c28b720c71 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2016-08-09 01:16:16 +03:00
  • fd0ef209f8 Select encoding for block`s name. Create unused widget for threads. Sergey Yagovtsev 2016-08-09 00:45:45 +03:00
  • af2e606e08 (ProfGraphicsView) Updating scene rect when scrolling to selected item; Victor Zarubkin 2016-08-09 00:15:40 +03:00
  • 97d009bd46 (ProfTreeWidget) Displays only relevant statistics; (profiler_gui) Comments in globals.h Victor Zarubkin 2016-08-09 00:14:58 +03:00
  • dd31bb080b (ProfGraphicsScrollbar) Draw indicators if slider width is too small Victor Zarubkin 2016-08-08 23:39:37 +03:00
  • b2ac7e0fbd (ProfGraphicsView) Scroll verticalScrollBar to selected item also Victor Zarubkin 2016-08-08 23:16:29 +03:00
  • c6fb0bfeb9 Merge remote-tracking branch 'origin/develop' into develop Victor Zarubkin 2016-08-08 23:11:27 +03:00
  • e8bdffbc7b (ProfGraphicsView) Selected item painted always, even if it is hidden because of small size. Victor Zarubkin 2016-08-08 23:03:11 +03:00
  • b257ef2c1d Merge commit Sergey Yagovtsev 2016-08-08 22:54:20 +03:00
  • 164eaa519d Warning fix Sergey Yagovtsev 2016-08-08 22:45:57 +03:00
  • 48e0906bf4 (ProfGraphicsView) using SELECTED_ITEM_COLOR constant Victor Zarubkin 2016-08-08 22:35:21 +03:00
  • f0f82c01e2 (ProfGraphicsView) Selecting items on scene; (ProfGraphicsView) Clickable indicators of ProfChronometerItem; (ProfTreeWidget) Jump to items on scene from ProfTreeWidget; (profiler GUI) Fixed typos and warnings; Victor Zarubkin 2016-08-08 22:17:56 +03:00
  • 00602398fb Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Sergey Yagovtsev 2016-08-07 21:40:49 +03:00
  • 98a3dd7114 Fix typo in SerializedBlock class name Sergey Yagovtsev 2016-08-07 21:40:23 +03:00
  • 30f0261bae (ProfGraphicsView) refactoring Victor Zarubkin 2016-08-07 20:16:15 +03:00
  • cae3ab989e (profiler reader app) Setting file name manually when launching application without arguments Victor Zarubkin 2016-08-07 19:39:33 +03:00
  • 3017be305a (profiler reader) Gathering per frame statistics + refactoring; (profiler GUI) Lightening profiler::colors to be more bright; (ProfTreeWidget) Displaying per frame and per thread statistics; (ProfGraphicsView) Draw chronometer item text in Difference mode to be more readable. Victor Zarubkin 2016-08-07 19:38:31 +03:00
  • 888ea2e61c refactoring Victor Zarubkin 2016-08-07 19:35:58 +03:00
  • b39057049e (profiler) Proper color names and 6 new colors Victor Zarubkin 2016-08-07 19:31:09 +03:00
  • 57654670f0 (ProfGraphicsView) Displaying additional chronometer item on mouse double click and move. This item is used just to measure time. This is not affecting tree displayed in ProfTreeWidget. Victor Zarubkin 2016-08-06 14:50:31 +03:00
  • 67ed94c774 (ProfMainWindow) Saving last opened file path into QSettings Victor Zarubkin 2016-08-06 14:48:38 +03:00
  • 7366defa63 Silly mistake Victor Zarubkin 2016-08-06 14:48:01 +03:00
  • 27ec6aee7e refactoring Victor Zarubkin 2016-08-04 23:46:04 +03:00
  • aac410d9f8 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2016-08-04 23:35:49 +03:00
  • 340a787358 (ProfGraphicsView) Fixed borders painting Victor Zarubkin 2016-08-04 23:35:38 +03:00
  • 4b43bebc4a Remove obsolete code Sergey Yagovtsev 2016-08-04 23:29:08 +03:00
  • 8346e50688 (profiler GUI) Store settings for application. Now is main geometry and columns settings in blocks tree widget and colorized settings. Sergey Yagovtsev 2016-08-04 23:12:41 +03:00
  • 57d8bc85e3 Set to windows application on win platform for profiler gui Sergey Yagovtsev 2016-08-04 23:12:05 +03:00
  • 4f0fabdfd6 (profiler Reader) Added block_index field and replaced pointers SerilizedBlock* to block indexes; (profiler GUI) Added plain vector of ProfBlocks (additional information for gui) for fast access; (ProfGraphicsView) Removed unnecessary methods; small refactoring; (ProfTreeWidget) Removed unnecessary map of tree items; (ProfGraphicsScrollbar) Added colorizing of minimap (green = low duration, red = long duration); Victor Zarubkin 2016-08-04 22:38:45 +03:00
  • 55cd5a5751 (profiler Reader) For memory consumption optimization created BlocksTreeRoot class and move thread_name field from BlocksTree to new created class; (profiler Reader) Added self_duration field for statistics; (profiler Reader) Removed #ifdef macros; (profiler Reader) moved BlocksTree, BlocksTreeRoot and thread_blocks_tree_t types inside profiler namespace; (profiler GUI) Added globals.h and globals.cpp containing global variables and signals; Added profiler_gui namespace; (ProfTreeWidget) Added context menu "Select columns" to make it possible to hide columns; (ProfTreeWidget) Added percent statistics for blocks (Self %, Parent % and Frame %); Added displaying of total thread duration; (ProfGraphicsScrollbar) Added context menu to make it possible to choose which thread to display on minimap; (ProfGraphicsView) Highlighting currently selected thread; Victor Zarubkin 2016-08-03 23:00:04 +03:00
  • 4db8d4fbb6 (GraphicsScrollbar) Added mini-map which shows duration of blocks relative to each other; (GraphicsScrollbar) Also added displaying of chronometer item position in graphics scrollbar. Victor Zarubkin 2016-08-03 00:06:36 +03:00
  • aa7996c1c5 (ProfGraphicsView) Chronometer item text is displaying correctly taking into account visibleSceneRect borders Victor Zarubkin 2016-08-02 22:24:22 +03:00
  • 773f978bdc (ProfTreeWidget) Displaying thread names in the tree Victor Zarubkin 2016-08-02 22:22:41 +03:00
  • bfe2e44456 (profiler Core fix) Thread-safety fixes Victor Zarubkin 2016-08-02 21:44:11 +03:00
  • 5d6cf9e5b4 (ProfTreeWidget fix) Fixed compiler warning Victor Zarubkin 2016-08-02 21:21:12 +03:00
  • 4b0d8e5e63 (profiler Reader fix) Added thread_name assignment into BlocksTree::makeMove() Victor Zarubkin 2016-08-02 21:20:38 +03:00
  • fd67a3d81b (profiler Optimizations) PROFILER_SET_THREAD_NAME uses static variable, so profiler::setThreadName() will be invoked only once; (profiler Optimizations) removed unnecessary profiler::Block creation from profiler::setThreadName(); (profiler Optimizations) removed statics from getCurrentTime() function - more correct static usage. Victor Zarubkin 2016-08-02 21:18:04 +03:00
  • 6445be6e41 Add test for performance Sergey Yagovtsev 2016-08-01 22:25:26 +03:00
  • bc44bec36d Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2016-08-01 22:22:23 +03:00
  • b0f6b3f268 (GraphicsView) Fixed test(); (GraphicsView) Added a lot of comments; (GraphicsView) Changed base unit from milliseconds to microseconds; (GraphicsScrollbar) Fixed fluttering on very small scale; (GraphicsView)+(TreeWidget) Chronometer item behavior: if selection made from left to right - selecting all items by intersection with rectangle; if selection made from right to left - selecting all items which are strictly inside selection rectangle. Victor Zarubkin 2016-08-01 22:21:59 +03:00
  • 7bf8d871c1 Proper LONGLONG value Victor Zarubkin 2016-08-01 22:16:31 +03:00
  • 146b0ccdfc Sample dump to file Victor Zarubkin 2016-08-01 22:15:40 +03:00
  • dd2deaf36f Add macro for specifying thread name Sergey Yagovtsev 2016-07-31 22:12:11 +03:00
  • 35faba94c9 Return current time in nanoseconds Sergey Yagovtsev 2016-07-31 20:01:02 +03:00
  • 2f833fc0a8 Add function getCurrentTime instead of std::chrono on windows Sergey Yagovtsev 2016-07-31 19:20:58 +03:00
  • bb0f2d3cd4 Added chronometer graphics item which shows time interval on graphics scene (Press right mouse button and move mouse on graphics scene). Also, all items from selected interval will be shown in tree widget. Victor Zarubkin 2016-07-31 18:48:41 +03:00
  • c943431104 (GraphicsView) Using GraphicsScrollbar with qreal values instead of standard QScrollBar with int values. (GraphicsView) Does not use standard QGraphicsView::scale and QGraphicsView::centerOn methods, does not use standard QScrollBar because of it's fast value overflow. Using manual offset for all scene items instead of standard scrolling. Victor Zarubkin 2016-07-31 13:13:48 +03:00
  • ac484a1ae4 unnecessary include Victor Zarubkin 2016-07-27 23:12:05 +03:00
  • 5b7364b0bd Flicker functionality for profiler gui on QWidgets Victor Zarubkin 2016-07-27 22:52:13 +03:00
  • 03fb3f271f Scene paint fixes and optimization Victor Zarubkin 2016-07-27 21:50:11 +03:00
  • 9a616fc693 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2016-07-10 01:36:02 +03:00
  • 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. Victor Zarubkin 2016-07-10 01:29:09 +03:00
  • f734104280 (GraphicsView) New draw method with one GraphicsItem for the whole scene (testing) Victor Zarubkin 2016-07-10 01:24:31 +03:00
  • 8b4bd91147 (profiler reader) Added calculation of maximum depth of the BlocksTree; * Also added header into reader.cpp and added comments. Victor Zarubkin 2016-07-10 01:21:11 +03:00
  • 2939f07c2a changed random seed Victor Zarubkin 2016-07-10 01:15:41 +03:00
  • d4b052127a Add command line parameters for reader. First parameters is file for reading and second is file for profiling dumping Sergey Yagovtsev 2016-07-04 22:55:04 +03:00
  • 23a94d94e2 Add profiling blocks for reader Sergey Yagovtsev 2016-07-04 22:53:48 +03:00
  • 82e9920e15 Add dumpBLocksToFile function Sergey Yagovtsev 2016-07-04 22:53:02 +03:00
  • 980edd631a Optimized reader Sergey Yagovtsev 2016-07-04 21:44:07 +03:00
  • d356629e33 Open file by command line argument Sergey Yagovtsev 2016-06-30 21:39:04 +03:00
  • fa270ea3f2 (GraphicsView) More effective memory consumption Victor Zarubkin 2016-06-30 03:45:11 +03:00
  • 5ca4158abf Highly optimized painting algorithm and memory consumption for Profiler GraphicsView Victor Zarubkin 2016-06-30 02:57:57 +03:00
  • 4b287b31fa (BlocksTree) Reading total number of children (including grandchildren and so on) Victor Zarubkin 2016-06-29 20:31:17 +03:00
  • 4ff66ff827 Update README.md Sergey 2016-06-29 07:45:11 +04:00
  • e4f7e3866f modify package for travis - one more iteration... Sergey Yagovtsev 2016-06-29 07:25:23 +04:00
  • 6eb9922891 modify package for travis Sergey Yagovtsev 2016-06-29 07:10:23 +04:00
  • 3e5173b6e6 modify package for travis Sergey Yagovtsev 2016-06-29 07:08:41 +04:00
  • 33e2990dfd packages for travis Sergey Yagovtsev 2016-06-29 07:03:01 +04:00
  • 6b600a4604 Upgrade compiler in travis Sergey Yagovtsev 2016-06-29 07:01:34 +04:00
  • d8569333b2 add qt5 to travis Sergey Yagovtsev 2016-06-29 06:59:06 +04:00
  • b422379683 try update travis cmake version Sergey Yagovtsev 2016-06-29 06:57:06 +04:00
  • 17c69cee7d check travis cmake version Sergey Yagovtsev 2016-06-29 06:55:12 +04:00
  • 727da87ee2 add travis configuration file Sergey Yagovtsev 2016-06-29 06:52:23 +04:00
  • 323d4297ce Create README.md Sergey 2016-06-29 06:47:50 +04:00
  • 8b2100a3d6 correct comment Victor Zarubkin 2016-06-27 23:24:04 +03:00