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

907 Commits

Author SHA1 Message Date
Sergey Yagovtsev
4d941f504c Try build using gcc on travis osx 2017-06-19 00:46:48 +03:00
Sergey Yagovtsev
8030f3fd15 Merge pull request #47 from karimnaaji/macos
Fix mac os build
2017-06-19 00:31:13 +03:00
Sergey Yagovtsev
e6f59dc788 Fix3 osx qt5 package on travis 2017-06-19 00:19:59 +03:00
Sergey Yagovtsev
68dae5b589 Fix2 osx qt5 package on travis 2017-06-19 00:14:35 +03:00
Sergey Yagovtsev
db4483b32b Fix osx qt5 package on travis 2017-06-19 00:00:51 +03:00
Sergey Yagovtsev
ca6d097f9a Try osx build on travis 2017-06-18 23:51:00 +03:00
Sergey Yagovtsev
e09b42a91e Try osx build on travis 2017-06-18 23:46:01 +03:00
Sergey Yagovtsev
f7b26ac3f4 update #44: build fix 2017-06-14 11:33:17 +03:00
Sergey Yagovtsev
c2765ca94d update #44: set target public compile properties 2017-06-14 11:11:34 +03:00
Sergey Yagovtsev
1230794eed Merge branch 'rokups-feature/cmake-rework' into develop 2017-06-14 10:33:41 +03:00
Sergey Yagovtsev
83cea794de update #44: install fix. remove version.ifo from installation 2017-06-14 10:32:58 +03:00
Rokas Kupstys
941f7a4b45 Fix for static build.
Fix for c++11 on apple systems.
2017-06-13 18:57:53 +03:00
Karim Naaji
504648d613 Fix mac os build
- Work around lack of clock_gettime() on OS X
2017-06-12 11:30:01 -04:00
Rokas Kupstys
ba09dc290e Enable colors by default. It seems code does not really support turning them off at the moment. 2017-06-12 11:45:45 +03:00
Rokas Kupstys
f007152d2c CMake script rework 2017-06-12 10:36:42 +03:00
Sergey Yagovtsev
c608665e06 Remove log about client connection 2017-06-12 01:04:51 +03:00
Sergey Yagovtsev
71ffde98de fix #46 2017-06-11 19:34:28 +03:00
Victor Zarubkin
fae8e4f748 #45 (GUI) Disabled address and port edits when connected 2017-06-09 09:15:56 +03:00
Sergey Yagovtsev
3cad41e63d fix #45 2017-06-08 18:52:51 +03:00
Victor Zarubkin
ac31aee77c #37 Fix typo 2017-06-07 20:51:45 +03:00
Victor Zarubkin
48fb240ca0 #37 Replaced std::string with char* for NonscopedBlock with manual memory management 2017-06-07 20:50:16 +03:00
Victor Zarubkin
43b6d1312b (GUI) Added possibility to display only frames (top-level blocks) on histogram to be able to find unexpected blocks on top level. Use [Settings] -> [Only frames on histogram] 2017-06-07 02:08:53 +03:00
Victor Zarubkin
8c4e26e3ec (GUI) Fix compiler warning 2017-06-07 01:47:05 +03:00
Victor Zarubkin
93c3066095 update #42 : Slightly better solution with less amount of black magic - different data structures for context switch events. Core API changed! 2017-06-07 01:39:45 +03:00
Sergey Yagovtsev
b14dbef78d update #42: linux build 2017-06-06 23:52:18 +03:00
Victor Zarubkin
4a9daf3bb4 update #42 : fixed possible statistics display bug; work around storing 64-bit thread id for context switch events (requires testing);
* (GUI) Added popup window when moving mouse cursor to thread name in Diagram window;
2017-06-06 20:46:06 +03:00
Sergey Yagovtsev
ec21fa0554 fix #40 2017-06-06 13:57:19 +03:00
Victor Zarubkin
6e35381517 (GUI) Removed leading "../" from file names in BlocksList widget - now it is more compact and readable 2017-06-05 21:27:55 +03:00
Victor Zarubkin
089fcf1e31 (GUI) Added an option to display thread ids in HEX mode;
* (GUI) Fixed problem with searching selected blocks in histogram when selecting block from BlocksList widget
2017-06-05 21:26:10 +03:00
Victor Zarubkin
65ac892e32 Fixing problems after changing thread_id_t to uint64_t from uint32_t: There is still a big problem with target-thread ids of context-switch events on *nix systems (it has been stored in block_id_t which is uint32_t and now it requires Core API changes to support new thread_id_t). Also there is a problem with statistics displaying (for top-level blocks parent_index had value of thread-id, it requires a work around now). 2017-06-05 21:24:01 +03:00
Sergey Yagovtsev
35b4796a62 *nix build 2017-06-05 13:18:28 +03:00
Sergey Yagovtsev
1c5084c6de for #41: minor beautifulize 2017-06-05 13:11:02 +03:00
Sergey Yagovtsev
39f0219ade Merge #41 into develop 2017-06-05 12:58:13 +03:00
Sergey Yagovtsev
ccd0626bf8 backward compatibility with old size of thread_id_t. For #41 2017-06-05 12:57:12 +03:00
Rokas Kupstys
08ae417931 Few more MacOS fixes.
Thread id changed to size_t, required for MacOS because older versions do not have integral thread ids and we must use a pointer returned by pthread_self()/
2017-05-23 19:49:21 +03:00
Josh Engebretson
a01187cf55 Networking fixes for MacOS
Qualify type for std::abs
2017-05-23 19:47:29 +03:00
Sergey Yagovtsev
f988cd4809 v1.2.0 v1.2.0 2017-05-08 12:32:56 +03:00
Sergey Yagovtsev
99d6a21a4a minor changes in sample 2017-05-08 12:32:07 +03:00
Victor Zarubkin
dbc2989788 Update README.md 2017-05-07 13:40:23 +03:00
Sergey Yagovtsev
ecbe7780e6 (Core) close #39 Add following cmake options to easy_profiler_core CMakeLists:
BUILD_WITH_CHRONO_STEADY_CLOCK - use std::chrono::steady_clock as a timer. By default is OFF
BUILD_WITH_CHRONO_HIGH_RESOLUTION_CLOCK - use std::chrono::high_resolution_clock as a timer. By default is OFF

If both is set to ON - use std::chrono::high_resolution_clock.
If both is set to OFF - use QueryPerformanceCounter/rtdsc timer.

Note: Do not forget clean CMakeCache file if you've changed an option.
2017-05-06 11:54:24 +03:00
Sergey Yagovtsev
0d8396b43a travis 2017-05-05 20:38:58 +03:00
Sergey Yagovtsev
98bcb8ce24 Add test for calculating cost of block 2017-05-05 20:30:01 +03:00
Sergey Yagovtsev
ed8e331876 travis fix 2017-05-05 19:56:48 +03:00
Sergey Yagovtsev
ef412ca961 travis fix 2017-05-05 19:55:35 +03:00
Sergey Yagovtsev
9184efb589 Add linux-specific test for calculating cost of gettime functions. Build with:
$ c++ -std=c++11 -O3 main_clock.cpp -o test_clock
2017-05-05 19:50:42 +03:00
Victor Zarubkin
714e4e0bab (Core) #39 Added macros for possibility to choose std::chrono timer type: EASY_CHRONO_HIGHRES_CLOCK for high_resolution_clock and EASY_CHRONO_STEADY_CLOCK for steady_clock - Use it in CMakeLists.txt 2017-05-04 21:40:48 +03:00
Victor Zarubkin
50b3cc8b7a (Core) Fixed old typo in ProfileManager::setBlockStatus() 2017-05-03 21:18:14 +03:00
Victor Zarubkin
bf308dc299 (GUI) Fixed displaying unicode text in popup and at histogram window 2017-05-02 23:22:36 +03:00
Victor Zarubkin
35ca4ff370 (GUI) Display current opened file name at the window title;
* (GUI) Suggest save file name: using current system date and time as file name;
* (GUI) Checking for unsaved network session before opening new file and before exit.
2017-05-02 23:21:15 +03:00
Sergey Yagovtsev
97f09d9e71 Update README.md 2017-05-02 21:33:11 +04:00