Sergey Yagovtsev
19d757f231
gcc warning fix
2016-09-07 21:33:10 +03:00
Sergey Yagovtsev
cd39507389
Replace tab to whitespaces
2016-09-07 21:32:14 +03:00
Sergey Yagovtsev
d39fecaac1
Clang build
2016-09-07 21:29:37 +03:00
Victor Zarubkin
449610028a
(profiler_core) Linux build: avoid gcc warning about unused variable
2016-09-06 23:16:15 +03:00
Victor Zarubkin
3699a07e41
Merge branch 'event_tracing' of https://github.com/yse/easy_profiler into event_tracing
...
# Conflicts:
# src/profile_manager.cpp
2016-09-06 23:07:56 +03:00
Victor Zarubkin
10bb3da45b
(profiler_core) !! Non-blocking API using Thread-Local-Storage (threal_local or __declspec(thread) or __thread)
2016-09-06 23:03:05 +03:00
Sergey Yagovtsev
68ee40a5ad
Replace tab to whitespaces
2016-09-06 22:23:55 +03:00
Sergey Yagovtsev
ede383be3c
Add licence text to some file
2016-09-06 22:15:50 +03:00
Victor Zarubkin
31705d5daf
(profiler_core) Better way of declaring generic stack
2016-09-06 22:00:53 +03:00
Victor Zarubkin
e4db8cabe4
(profiler_core) Measure core functions work time
2016-09-06 21:52:56 +03:00
Victor Zarubkin
591f613ff6
License text + small clean-up
2016-09-06 21:49:32 +03:00
Victor Zarubkin
f25ba79636
(profiler_core) Event tracing clean-up
2016-09-06 00:24:21 +03:00
Victor Zarubkin
d8d9a2fd32
(EasyGraphicsView) Painting context switches with outlined rectangles
2016-09-06 00:23:46 +03:00
Victor Zarubkin
33946770bb
(profiler_core) Windows build fix
2016-09-06 00:22:26 +03:00
Sergey Yagovtsev
9521f8ac02
Store context switch timestamp on linux.
...
It's need to run systemtap util for loading kernel module. This kernel module capture context switch timestamp and systemtap store it in the temp file.
Before running profiling application you should run systemtap script with root privileges as following:
\# stap -o /tmp/cs_profiling_info.log scripts/context_switch_logger.stp name APPLICATION_NAME
where APPLICATION_NAME is profiling application
2016-09-05 22:11:03 +03:00
Sergey Yagovtsev
6d1b9915d2
Get thread id on linux by syscall instead of std::this_thread
2016-09-05 22:02:32 +03:00
Victor Zarubkin
f5ed51e13a
Event tracing fixes! Now working :)
2016-09-04 19:35:58 +03:00
Victor Zarubkin
05b56dcec0
First debuggable version of system event tracing for visualizing thread context switches
2016-09-04 14:48:35 +03:00
Victor Zarubkin
342a95108c
Merge branch 'new_api' of https://github.com/yse/easy_profiler into new_api
2016-09-01 22:24:59 +03:00
Victor Zarubkin
7086592e6b
(profiler_gui) Typo fixed!
2016-09-01 22:24:42 +03:00
Victor Zarubkin
b90e13509e
small refactoring
2016-09-01 22:24:13 +03:00
Victor Zarubkin
937f7d8fec
(profiler_core) Correcting: checking built-in "_WIN32" instead of compiler dependant "WIN32"
2016-09-01 22:22:58 +03:00
Sergey Yagovtsev
eae89b4f68
Update README
2016-08-31 23:03:29 +03:00
Sergey Yagovtsev
5cb37cea70
Update README
2016-08-31 22:48:41 +03:00
Sergey Yagovtsev
887d7f5244
Update README
2016-08-31 22:47:20 +03:00
Sergey Yagovtsev
88de665df9
clang warning fix
2016-08-31 21:51:22 +03:00
Sergey Yagovtsev
d8f44ba559
Gcc compile fix
2016-08-31 21:51:00 +03:00
Victor Zarubkin
cbcfe4c184
(EasyMainWindow) Memory leak issue
2016-08-30 23:15:16 +03:00
Victor Zarubkin
9560c5b5cf
(profiler_gui) Memory consumption optimization + File reading speed-up.
2016-08-30 22:51:18 +03:00
Victor Zarubkin
245bc6c386
(EasyChronometerItem) Fixed an error of displaying text on large scale
2016-08-30 20:47:49 +03:00
Victor Zarubkin
eaa79a4c4c
(profiler_core) Fixed logic mistake in base api
2016-08-30 20:46:39 +03:00
Victor Zarubkin
61c40c2512
(EasyGraphicsView) Design tweaking
2016-08-28 23:40:51 +03:00
Victor Zarubkin
71f95f2c87
(profiler_core) Simplifying API: there are ~1.5 times lower macros number for using profiler.
2016-08-28 23:40:23 +03:00
Victor Zarubkin
988d9da391
(EasyTreeWidget) Trying to fix slow clear()
2016-08-28 21:10:16 +03:00
Victor Zarubkin
4ff13053ec
Remastering profiler API. Fixed read/write
2016-08-28 21:06:23 +03:00
Victor Zarubkin
aa0d96d0e6
Remastering profiler API. All projects are compiled successfully, but there is an error occured during read/write .prof file
2016-08-28 18:22:45 +03:00
Victor Zarubkin
439e1cfb44
Remastering profiler API (not compiling yet)
2016-08-28 02:41:02 +03:00
Victor Zarubkin
3a2c8aaef1
(profiler_gui) Small design tweaking;
...
(profiler_gui) Added possibility to change where chronometer (time-meter) item text will be painted: at the top of the scene, in the center or at the bottom of the scene. See menu View -> Chronometer text.
2016-08-24 01:00:24 +03:00
Victor Zarubkin
bb7e288c1c
(EasyMainWindow) Separated loading of settings and geometry;
...
(profiler_gui) Added flag of connecting items expand status on scene and in the tree.
2016-08-23 23:50:30 +03:00
Victor Zarubkin
8b0f99ced0
(EasyGraphicsScrollbar) Displaying indicators for sliders at the top and the bottom of the mini-map view
2016-08-23 22:44:59 +03:00
Victor Zarubkin
3d8a120502
(profiler_gui) New flags for expanding all items on file open and for collapsing all items after closing tree (Blocks hierarchy dock-window);
...
(EasyTreeWidget) Fix of invisible progress bar;
2016-08-23 22:44:04 +03:00
Victor Zarubkin
355e3f519b
(EasyGraphicsView) High painting performance optimization. No lags on 10 million blocks scene. (of course, not all 10 mil. of blocks are visible at the same moment)
2016-08-23 22:42:20 +03:00
Victor Zarubkin
004c4a257f
(EasyGraphicsView) Second click on selected item on graphics scene makes it expanded or collapsed;
...
(EasyGraphicsView) Scale indicator rework;
(EasyMainWindow) Added menu "View" with actions "Expand all" nad "Collapse all";
(EasyGraphicsScrollbar) Fixed wrong mouse position calculation when scaling (with mouse wheel) on minimap.
2016-08-21 22:44:03 +03:00
Victor Zarubkin
4e5305ee74
(EasyGraphicsView) Refused of using QPainter::setClipRect() because of it is buggy when used with very big coordinates;
...
(EasyGraphicsView) New items borders drawing style.
2016-08-21 18:04:38 +03:00
Victor Zarubkin
1b3806ded2
(EasyGraphicsView) Removed debug output; Added vertical scrolling to the current thread on mouse wheel from EasyGraphicsScrollbar
2016-08-21 17:12:28 +03:00
Sergey Yagovtsev
3393072b81
Add analytics
2016-08-21 17:04:57 +03:00
Victor Zarubkin
721c145450
(profiler_gui) Added possibility of changing current scale using mouse wheel on minimap under graphics scene
2016-08-21 16:48:42 +03:00
Victor Zarubkin
beadd01c0c
Merge remote-tracking branch 'origin/serialized_optimize' into develop
2016-08-21 14:48:36 +03:00
Victor Zarubkin
3e1b8ce46f
(profiler core) The right way of avoiding static analyzer warnings ^_^ No need to insert unnecessary checks
2016-08-21 14:46:16 +03:00
Victor Zarubkin
e40da7921d
(EasyGraphicsView) Revert code analyzer fix: No need to check for nullptr because if it is null then there are no free memory in the system and the program will crash anyway.
2016-08-21 14:33:22 +03:00