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

Commit Graph

  • 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. Victor Zarubkin 2017-04-03 23:16:36 +03:00
  • 8b7a68266c (Core) Added new API functions for requesting local-average frame duration (like local-max) Victor Zarubkin 2017-04-03 23:08:52 +03:00
  • edcf23e268 Amend last commit Victor Zarubkin 2017-04-02 14:25:46 +03:00
  • a2b62613a2 (Core) Frame counter: significantly simplified interface - there is no need to start frame counter explicitly. Top block is frame. Victor Zarubkin 2017-04-02 14:23:11 +03:00
  • 10b04a4748 (Core) First step for getting frame time at run-time. Now you can use EASY_FRAME_COUNTER (which is only frame-counter) or EASY_FRAME (which is EASY_FRAME_COUNTER + EASY_BLOCK) or EASY_FRAME_FUNCTION (which is EASY_FRAME_COUNTER + EASY_FUNCTION) to measure frame time even if profiler is disabled. To get frame time you can use profiler::main_thread::frameTimeLocalMax to get maximum frame duration since last call or profiler::main_thread::frameTime to get last frame time. --- NOTE: You have to put EASY_MAIN_THREAD to your main thread to be able to use profiler::main_thread functions. If you do not want to then you can use same functions from profiler::this_thread, but you will have to call them from your main thread. Victor Zarubkin 2017-03-31 21:17:08 +03:00
  • 4b90fc3abb Update README.md Victor Zarubkin 2017-03-30 07:03:11 +03:00
  • 0f988a663f Update README.md Victor Zarubkin 2017-03-30 06:58:28 +03:00
  • 08372ac136 Update license Victor Zarubkin 2017-03-30 06:55:15 +03:00
  • 7f085ef8ac Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2017-03-30 06:49:06 +03:00
  • 835e8f0a1f (GUI) Show capture dialog immediately if profiling session has been already enabled. You may now profile everything from the application launch (initialization etc.). Victor Zarubkin 2017-03-30 06:48:58 +03:00
  • 8ae5139b87 (Core): Trying to reduce data copying while sending profiled information Victor Zarubkin 2017-03-30 06:47:00 +03:00
  • 01ae19e56b Update Readme Sergey Yagovtsev 2017-03-30 06:30:11 +03:00
  • f8dbf15ade Update Readme Sergey Yagovtsev 2017-03-30 06:28:30 +03:00
  • 5e41c946d1 Update Readme Sergey Yagovtsev 2017-03-30 06:25:07 +03:00
  • 873e7cd732 Update Readme Sergey Yagovtsev 2017-03-30 06:20:25 +03:00
  • cd6b186ba4 Update Readme Sergey Yagovtsev 2017-03-30 06:19:45 +03:00
  • 297174942f Relicense under dual MIT/Apache 2.0 Sergey Yagovtsev 2017-03-30 06:14:23 +03:00
  • 73fc9d53e8 GUI.HierarchyWidget: changed column names to more compact versions Victor Zarubkin 2017-03-17 00:32:47 +03:00
  • 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) Victor Zarubkin 2017-03-13 20:30:57 +03:00
  • 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. Victor Zarubkin 2017-03-13 00:43:15 +03:00
  • 1af9c1bacc GUI.Diagram: changed timeline scale color from gray to darkGray Victor Zarubkin 2017-03-13 00:38:31 +03:00
  • 620a4da8d3 GUI.Histogram: Fixed possible concurrent access violation; Fixed typos and misspelt words Victor Zarubkin 2017-03-07 19:59:57 +03:00
  • ffca37d06d GUI.GraphicsView: Removed unused code Victor Zarubkin 2017-03-07 19:53:09 +03:00
  • 5e0180f399 amend last commit (adjusted width) Victor Zarubkin 2017-03-07 01:33:43 +03:00
  • 5efe8c1132 GUI: Changed current-scale indicator appearance (bottom right of the screen) Victor Zarubkin 2017-03-07 01:30:48 +03:00
  • 9c517c0201 Removed vertical spacing between blocks Victor Zarubkin 2017-03-07 01:19:09 +03:00
  • df0ee6ead9 update #20 - Added possibility to change Expected-frame-time via histogram: use Ctrl + LMB Victor Zarubkin 2017-03-07 01:09:27 +03:00
  • 339f392e7e Merge branch 'develop' of https://github.com/yse/easy_profiler into develop Victor Zarubkin 2017-03-07 00:29:45 +03:00
  • 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) Victor Zarubkin 2017-03-07 00:29:34 +03:00
  • 15912970db replace double quotes to angle brackets - fixed #28 Sergey Yagovtsev 2017-03-05 23:50:38 +03:00
  • 6c13b48873 Merge branch 'develop' of github.com:yse/easy_profiler into develop Sergey Yagovtsev 2017-03-05 23:01:10 +03:00
  • 55000a6325 fixed #27 Sergey Yagovtsev 2017-03-05 22:59:03 +03:00
  • 973c03f5f5 Removed unused old sources Victor Zarubkin 2017-03-05 11:18:26 +03:00
  • 072fb91467 fixes 26 Sergey Yagovtsev 2017-03-04 13:39:42 +03:00
  • 95ad72c9a7 A couple of fixes for pull-request Victor Zarubkin 2017-03-03 00:29:45 +03:00
  • a9dea6faa6 Merge branch 'rokups-feature/getters' into develop Victor Zarubkin 2017-03-03 00:19:12 +03:00
  • a0e1ce459f Android build Sergey Yagovtsev 2017-03-02 16:13:59 +03:00
  • 8f7ffa9102 Fix atomic memory model in setEventTracingEnabled() Rokas Kupstys 2017-03-02 10:28:43 +02:00
  • e7f5cc0748 New API: * bool isEnabled() * bool isListening() * bool isEventTracingEnabled() * bool isLowPriorityEventTracing() Rokas Kupstys 2017-03-01 11:14:02 +02:00
  • d89e5ff590 Add select function for checking connection Sergey Yagovtsev 2017-03-01 20:56:43 +03:00
  • c9f69f7b25 Update README.md Sergey Yagovtsev 2017-03-01 13:20:51 +03:00
  • 88c14e25f6 Fix multiple defined symbols of DEFAULT_ADDRESS on gcc+linux. Rokas Kupstys 2017-03-01 11:12:35 +02:00
  • 3640bae1c8 Update README.md Sergey Yagovtsev 2017-03-01 12:02:47 +03:00
  • 903817f191 Update README.md Sergey Yagovtsev 2017-03-01 12:02:22 +03:00
  • 82780a0e71 Update README.md Sergey Yagovtsev 2017-03-01 11:40:47 +03:00
  • b5c1e69f8b v1.0.3 v1.0.3 Sergey Yagovtsev 2017-02-28 06:38:30 +03:00
  • ba0f73bcf6 Install cmake into lib subdir. Set public target compile definition to BUILD_WITH_EASY_PROFILER. Install to system directory Sergey Yagovtsev 2017-02-28 06:30:21 +03:00
  • 9d88b3d831 prepare for v1.0.3 Victor Zarubkin 2017-02-25 14:28:25 +03:00
  • c2a4ae3f83 GUI: Removed unused status-bar Victor Zarubkin 2017-02-15 21:45:14 +03:00
  • 0e6f12e6a2 Icons refactoring and change company name Victor Zarubkin 2017-02-14 22:22:16 +03:00
  • 6d3a4a0aed MinGW build fixes: Thanks to https://github.com/Nitrotoluol for help! Victor Zarubkin 2017-02-14 21:22:26 +03:00
  • d54ef45c3a MinGW adaptation first try Victor Zarubkin 2017-02-13 20:19:41 +03:00
  • 11fbfe65d4 Added more log messages (logging could be enabled via set(EASY_OPTION_LOG ON) in easy_profiler_core/CMakeLists.txt) Victor Zarubkin 2017-02-08 23:20:09 +03:00
  • 227a23c266 Added possibility to disable predefined colors palette to reduce binary size when user want to use own colors palette Victor Zarubkin 2017-02-08 22:35:46 +03:00
  • 105d8334e1 Removed redundant copying of data from std::stringstream to std::ofstream in dumpBlocksToFile() Victor Zarubkin 2017-02-08 22:06:38 +03:00
  • c0a23866ed Cross-compiler way of C++11 standard requirement (NOTICE: Need to test on Unix systems) Victor Zarubkin 2017-02-08 21:47:20 +03:00
  • c3c9ac8250 Changed default value for minimum blocks width for GUI Victor Zarubkin 2017-02-08 21:47:11 +03:00
  • 048ea7de1f Normalize all the line endings Sergey Yagovtsev 2017-02-08 00:15:39 +03:00
  • d564b6ef4e Saving files before refreshing line endings Sergey Yagovtsev 2017-02-08 00:14:49 +03:00
  • 68a05942fa Unix section for sample Sergey Yagovtsev 2017-02-07 23:42:43 +03:00
  • 4173c9be3c Merge branch 'SirVer-00_compile_warning_clang' into develop Sergey Yagovtsev 2017-02-07 23:36:45 +03:00
  • 7641951247 Fixes for clang 3.8. Holger Rapp 2017-02-07 17:07:25 +01:00
  • 6f82dbc337 Update README.md Sergey Yagovtsev 2017-02-07 19:43:24 +04:00
  • d338c022fb v1.0.2 v1.0.2 Sergey Yagovtsev 2017-02-07 06:22:34 +03:00
  • 7ef004e400 CMake package layout for core Sergey Yagovtsev 2017-02-07 06:01:26 +03:00
  • 1f919b2b3d Update README.md Sergey Yagovtsev 2017-01-21 01:53:03 +04:00
  • 75f4a35aa0 Update README.md Sergey Yagovtsev 2017-01-21 01:28:53 +04:00
  • 870d2b5545 Update README.md Sergey Yagovtsev 2017-01-21 01:25:06 +04:00
  • 365d1608be (GUI) Fixed wrong hierarchy tree building in "Plain mode" (not all blocks were added) v1.0.1 Victor Zarubkin 2016-12-27 22:33:10 +03:00
  • 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 Victor Zarubkin 2016-12-27 22:07:44 +03:00
  • 5a14887ec8 Update Readme Victor Zarubkin 2016-12-27 21:01:12 +03:00
  • 8057154fe5 (EasyProfiler.ETW) Fixed typo in system process name Victor Zarubkin 2016-12-27 20:54:10 +03:00
  • b3045c1b68 (GUI) Hystogram painting improvement Victor Zarubkin 2016-12-27 20:53:16 +03:00
  • 31f3bf142b Update Readme Sergey Yagovtsev 2016-12-25 13:04:25 +03:00
  • 40a0590aff Update Readme Sergey Yagovtsev 2016-12-25 13:03:47 +03:00
  • 179aee62fc amend last commit Victor Zarubkin 2016-12-21 23:21:35 +03:00
  • 4078fe2a4a (GUI) Blocks/files list widget search fix: files are highlighted too Victor Zarubkin 2016-12-21 23:19:22 +03:00
  • 6d59c53f7a (GUI) Fixed wrong window size calculation for hystogram window Victor Zarubkin 2016-12-21 22:40:06 +03:00
  • e9bed4c839 (Core) Major update (file format NOT affected). Description: 1) Added macro EASY_CONST_NAME(name) to make possible to force EasyProfiler think that given block name is const and not changed during application execution (this rely to compile-time strings saved into a run-time variable); 2) Starting from now, EasyProfiler will not store partially finished frames - first, this means that profiler enabled during frame execution will skip all blocks from this frame, and second, this means that when dumping profiled information profiler will wait until all frames finish before dumping blocks. Victor Zarubkin 2016-12-21 21:59:40 +03:00
  • 5977dbda11 (Core) ETW logging: replaced std::cerr with macro EASY_ETW_LOG to make possible to change output destination Victor Zarubkin 2016-12-21 21:49:29 +03:00
  • 649eda5641 (GUI) Small alignment fixes Victor Zarubkin 2016-12-21 21:45:11 +03:00
  • 829ca05e75 (GUI) Added new icon (:/Stop), increased default icon size Victor Zarubkin 2016-12-18 19:16:21 +03:00
  • 6c403ae4ba (GUI) Asking before restore last connection if could not connect to the new address; * (GUI) Automatically restore connection on "Start Capture" click if application was disconnected. Victor Zarubkin 2016-12-18 18:27:19 +03:00
  • 0a57ff381c (GUI) Please, read NOTICE for that commit. 1) Added active time calculation (this is duration excluding context switch time). 2) Columns "Duration", "Self Dur.", "Self %", "% / Frame", "Active time", "Active %" in Plain mode shows total values per frame (sum of all values per frame). Victor Zarubkin 2016-12-18 17:59:41 +03:00
  • e5dccfb8be (GUI) Added hierarchy window mode: full hierarchy, plain mode (only functions list) Victor Zarubkin 2016-12-18 15:56:08 +03:00
  • 1ac9c5c2a0 (EasyHystogramItem) Do not check events when calculating block min duration for selected thread Victor Zarubkin 2016-12-17 16:32:39 +03:00
  • bfb81a7db0 CMake: removed tabs from options print Victor Zarubkin 2016-12-17 16:29:03 +03:00
  • d85f9864d6 (GUI) Added statistics gathering for context switches (calls number, total duration, % per thread or frame). Known issue: if context switch events occur out of profiled blocks then percent/thread may be calculated wrong as it is calculating relative to thread profiled time (which may be a very low value). Victor Zarubkin 2016-12-14 23:17:02 +03:00
  • 8cfeb1b7f2 (Windows ETW) Added process names for pid=4 (System) and threadID=0 (System Idle) Victor Zarubkin 2016-12-14 23:12:16 +03:00
  • 7883371166 (GUI) Added calculation of thread wait time (sum of all context switches) Victor Zarubkin 2016-12-14 22:16:14 +03:00
  • eafcb40970 (GUI) Added possibility to torn on/off decorated thread names (add/don't add "Thread" word info thread name. Example, "Render" convert to "Render Thread", "WorkerThread" "My thread" will not convert in any way). See Settings->View->Use decorated thread names. * (GUI) Fixed lagging when painting very long block on large scale. Victor Zarubkin 2016-12-14 21:47:33 +03:00
  • 0304a55c15 (Core) Added macro USING_EASY_PROFILER which is defined when EasyProfiler is actually used. Victor Zarubkin 2016-12-14 21:40:46 +03:00
  • 7b63ae39d2 CMake + core: added options to CMakeLists.txt. TODO: maybe set them via CMake "option(...)" command Victor Zarubkin 2016-12-13 21:53:29 +03:00
  • b67e078e55 (GUI) Fixed division by zero; * (GUI) Displaying blocks number on hystogram for selected thread Victor Zarubkin 2016-12-12 22:28:54 +03:00
  • d88b747c33 Valid version check Victor Zarubkin 2016-12-12 22:26:50 +03:00
  • 29f81d1244 (Core) Monitoring threads, removing threads without blocks, events and context switches; * (Core) Context switch events also register threads for current process; * (Core) Writing process id into output file (old files still could be opened); Victor Zarubkin 2016-12-12 22:26:32 +03:00
  • 039e0a6efa Add next pid to context switch file Sergey Yagovtsev 2016-12-12 22:01:33 +03:00
  • 3f64b9fb1c (GUI) Added average time into summary popup Victor Zarubkin 2016-12-12 21:41:48 +03:00
  • d4877b59b8 (GUI) Added new regime "Hide min-size blocks" to hide blocks which screen size is less than 'Min blocks size'; (GUI) Slightly more memory effective arch. Victor Zarubkin 2016-12-12 21:39:16 +03:00
  • 58b1fdb8a3 Define alignment size Sergey Yagovtsev 2016-12-12 03:13:07 +03:00