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

575 Commits

Author SHA1 Message Date
Victor Zarubkin
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.
2017-03-31 21:17:08 +03:00
Victor Zarubkin
4b90fc3abb Update README.md 2017-03-30 07:03:11 +03:00
Victor Zarubkin
0f988a663f Update README.md 2017-03-30 06:58:28 +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
Victor Zarubkin
8ae5139b87 (Core): Trying to reduce data copying while sending profiled information 2017-03-30 06:47:00 +03:00
Sergey Yagovtsev
01ae19e56b Update Readme 2017-03-30 06:30:11 +03:00
Sergey Yagovtsev
f8dbf15ade Update Readme 2017-03-30 06:28:30 +03:00
Sergey Yagovtsev
5e41c946d1 Update Readme 2017-03-30 06:25:07 +03:00
Sergey Yagovtsev
873e7cd732 Update Readme 2017-03-30 06:20:25 +03:00
Sergey Yagovtsev
cd6b186ba4 Update Readme 2017-03-30 06:19:45 +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
Sergey Yagovtsev
072fb91467 fixes 26 2017-03-04 13:39:42 +03:00
Victor Zarubkin
95ad72c9a7 A couple of fixes for pull-request 2017-03-03 00:29:45 +03:00
Victor Zarubkin
a9dea6faa6 Merge branch 'rokups-feature/getters' into develop 2017-03-03 00:19:12 +03:00
Sergey Yagovtsev
a0e1ce459f Android build 2017-03-02 16:13:59 +03:00
Rokas Kupstys
8f7ffa9102 Fix atomic memory model in setEventTracingEnabled() 2017-03-02 10:28:43 +02:00
Rokas Kupstys
e7f5cc0748 New API:
* bool isEnabled()
* bool isListening()
* bool isEventTracingEnabled()
* bool isLowPriorityEventTracing()
2017-03-02 10:26:13 +02:00
Sergey Yagovtsev
d89e5ff590 Add select function for checking connection 2017-03-01 20:56:43 +03:00
Sergey Yagovtsev
c9f69f7b25 Update README.md 2017-03-01 13:20:51 +03:00
Rokas Kupstys
88c14e25f6 Fix multiple defined symbols of DEFAULT_ADDRESS on gcc+linux. 2017-03-01 11:12:35 +02:00
Sergey Yagovtsev
3640bae1c8 Update README.md 2017-03-01 12:02:47 +03:00
Sergey Yagovtsev
903817f191 Update README.md 2017-03-01 12:02:22 +03:00
Sergey Yagovtsev
82780a0e71 Update README.md 2017-03-01 11:40:47 +03:00
Sergey Yagovtsev
b5c1e69f8b v1.0.3 v1.0.3 2017-02-28 06:38:30 +03:00
Sergey Yagovtsev
ba0f73bcf6 Install cmake into lib subdir.
Set public target compile definition to BUILD_WITH_EASY_PROFILER.
Install to system directory
2017-02-28 06:32:31 +03:00
Victor Zarubkin
9d88b3d831 prepare for v1.0.3 2017-02-25 14:33:45 +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
d54ef45c3a MinGW adaptation first try 2017-02-13 20:19:41 +03:00
Victor Zarubkin
11fbfe65d4 Added more log messages (logging could be enabled via set(EASY_OPTION_LOG ON) in easy_profiler_core/CMakeLists.txt) 2017-02-08 23:20:09 +03:00
Victor Zarubkin
227a23c266 Added possibility to disable predefined colors palette to reduce binary size when user want to use own colors palette 2017-02-08 22:35:46 +03:00