Commit Graph

629 Commits

Author SHA1 Message Date
Bartosz Taudul
4aa93f6285 Adjust default lua zone color. 2017-11-05 21:22:48 +01:00
Bartosz Taudul
8178b61973 Wrap access to source location function and file. 2017-11-05 21:03:08 +01:00
Bartosz Taudul
3d2450fc10 Store source locations in a proper data structure. 2017-11-05 20:54:49 +01:00
Bartosz Taudul
bc77aa8d26 Source location payload transfer. No storage yet. 2017-11-05 16:46:00 +01:00
Bartosz Taudul
1323596ab2 Use switch instead of if ladder. 2017-11-05 16:14:51 +01:00
Bartosz Taudul
0fb5f012ce Lua profiling framework. No source location transfer yet. 2017-11-05 15:06:28 +01:00
Bartosz Taudul
3dc7d04ab4 Properly handle connection reset on win32. 2017-11-04 17:19:28 +01:00
Bartosz Taudul
a91d12a9e1 OSX is verified to be working. 2017-11-04 02:27:32 +01:00
Bartosz Taudul
a2f9dc75c7 Set SO_NOSIGPIPE on proper socket. 2017-11-03 11:20:39 +01:00
Bartosz Taudul
f71af873c0 Proper function name. 2017-11-03 11:13:02 +01:00
Bartosz Taudul
7ecc6b54d4 Proper pthread_threadid_np call. 2017-11-03 11:12:17 +01:00
Bartosz Taudul
c7cb89307f Use proper __APPLE__ macro. 2017-11-03 11:09:31 +01:00
Bartosz Taudul
1d9542ea25 Fix thread ids on osx, iphone. 2017-11-03 10:49:49 +01:00
Bartosz Taudul
3659afac2a Move another big buffer out of stack. 2017-11-02 17:37:10 +01:00
Bartosz Taudul
7b8747ce21 Collect thread names on osx, iphone. 2017-11-02 13:02:04 +01:00
Bartosz Taudul
3051b8d27c Don't use rpmalloc directly. 2017-11-02 12:58:38 +01:00
Bartosz Taudul
cea7cdd716 Don't create big buffers on stack. 2017-11-02 12:58:38 +01:00
Bartosz Taudul
e31f8c2aed No sigpipe on think different. 2017-11-02 11:37:10 +01:00
Bartosz Taudul
af39dd4921 Always define noop MSG_NOSIGNAL, if not available in headers. 2017-11-02 11:31:54 +01:00
Bartosz Taudul
85da864aa6 Add an extra note about benchmark data. 2017-10-31 23:22:39 +01:00
Bartosz Taudul
391571a2da Fix android with tracy disabled. 2017-10-31 11:36:43 +01:00
Bartosz Taudul
b1de9872c3 Cygwin and WSL also are verified to be working. 2017-10-30 22:13:07 +01:00
Bartosz Taudul
0578445762 C++11 is enough. 2017-10-30 22:07:37 +01:00
Bartosz Taudul
fb84a08419 FreeBSD is verified to be working. 2017-10-30 21:59:15 +01:00
Bartosz Taudul
3aaa718741 Enable thread name collection on cygwin.
It was working before, because there was _GNU_SOURCE define injection.
Without this macro defined pthread_[gs]etname_np() functions are not
exposed in the API.
2017-10-30 21:57:45 +01:00
Bartosz Taudul
7a13494424 No _GNU_SOURCE define in test application. 2017-10-30 21:55:26 +01:00
Bartosz Taudul
aa12a3bf94 Missing include. 2017-10-30 21:51:24 +01:00
Bartosz Taudul
4abc57a414 More verified platforms. 2017-10-30 21:48:06 +01:00
Bartosz Taudul
230822e18c Enforce proper calling convention on x86. 2017-10-30 21:46:50 +01:00
Bartosz Taudul
cf3d8eb810 Manual collection of thread names on android. 2017-10-30 20:45:00 +01:00
Bartosz Taudul
32532277e3 Android is verified to be working on x86. 2017-10-30 20:06:45 +01:00
Bartosz Taudul
f861f89134 Disable rdtscp on android. 2017-10-30 16:23:23 +01:00
Bartosz Taudul
8f280b147b Getting program name on android. 2017-10-30 14:59:05 +01:00
Bartosz Taudul
5cf962e03d Android has pthread_setname_np, but not getname... 2017-10-30 13:48:52 +01:00
Bartosz Taudul
98852dbb1e Explicitly state license. 2017-10-30 13:30:43 +01:00
Bartosz Taudul
9524b6447e Pack LockEvent data, saving one byte. 2017-10-29 16:49:22 +01:00
Bartosz Taudul
97880a89ae Clobber ecx register. 2017-10-29 16:20:07 +01:00
Bartosz Taudul
a220043114 Add no-cpu GetTime() variant.
In this version the address of cpu output variable is const, so there's
no stack address calculation involved.
2017-10-29 16:12:16 +01:00
Bartosz Taudul
68f5a17bca Use 32-bit registers for rdtscp output. 2017-10-29 13:15:43 +01:00
Bartosz Taudul
34123de977 Reduce custom vector size 16 -> 13 bytes. 2017-10-28 23:12:11 +02:00
Bartosz Taudul
1a117b330f Prevent lock event overdraw.
If two lock events would overdraw (and they were), it was very easy for
a non-blocking zone to completely hide a blocking one.
2017-10-28 22:44:41 +02:00
Bartosz Taudul
0edbe38334 Improve locks visibility. 2017-10-28 22:34:52 +02:00
Bartosz Taudul
2988dda68f Fix for missing unended zones. 2017-10-28 22:20:39 +02:00
Bartosz Taudul
39ac41bc19 Store source location on 32 bits, not 64. 2017-10-28 22:14:01 +02:00
Bartosz Taudul
fb6c91b552 Simplify switch. 2017-10-28 22:11:24 +02:00
Bartosz Taudul
db16aecf64 Try to display only frame time, if no space for full text. 2017-10-28 21:55:01 +02:00
Bartosz Taudul
2a6ccf8ee9 Fix some warnings. 2017-10-28 21:50:06 +02:00
Bartosz Taudul
5ebbf83eb3 Time variables should be signed. 2017-10-28 21:36:47 +02:00
Bartosz Taudul
adeb9b74f9 Make while condition explicit. 2017-10-28 21:35:38 +02:00
Bartosz Taudul
01666ded2f Add TracyCharUtil.hpp to files list in msvc. 2017-10-28 21:35:26 +02:00