Bartosz Taudul
90d26cb1b6
Collect and send context switch events.
2019-08-13 02:35:32 +02:00
Bartosz Taudul
fe0f1aea07
Add system tracing skeleton.
2019-08-12 23:05:34 +02:00
Bartosz Taudul
8aa0be39d5
Drop support for CPU id queries.
2019-08-12 23:05:34 +02:00
Bartosz Taudul
d6f32a0839
Serialize lock processing.
...
This makes is much easier to process on the server and opens new
optimization possibilities. It also fixes theoretical problems, which
may be caused by invalid ordering of events with the same timestamp.
2019-08-12 13:51:01 +02:00
Bartosz Taudul
0431c03556
Add serial queue interface.
2019-08-12 13:27:15 +02:00
Bartosz Taudul
4d2c7899ab
Allow skipping invariant TSC check.
2019-08-08 19:21:39 +02:00
Bartosz Taudul
3a221dafde
Display error messages on console, if available.
2019-08-08 19:18:05 +02:00
Bartosz Taudul
aada588129
Proper buffer reset.
2019-08-04 17:48:19 +02:00
Rokas Kupstys
b391e4c21a
Fix multiple build errors when compiling with MinGW.
2019-08-04 15:49:46 +03:00
Bartosz Taudul
12969ee497
Track thread context.
...
This change exploits the fact that events are processed in batches
originating from a single thread. A single message changing thread
context is enough to handle multiple messages, as opposed to inclusion
of thread identifier in each message.
2019-08-02 20:18:08 +02:00
Bartosz Taudul
a4e7a341c0
Proper handling of disconnect request.
2019-08-01 23:14:09 +02:00
Bartosz Taudul
ca3571fd2b
Still more.
2019-07-30 01:30:31 +02:00
Bartosz Taudul
47423e6263
And more.
2019-07-30 01:29:13 +02:00
Bartosz Taudul
d3783ae359
Remove magic template syntax.
2019-07-30 01:28:21 +02:00
Bartosz Taudul
9c28b82954
RPMallocInit and RPMallocThreadInit are identical.
2019-07-30 01:15:14 +02:00
Bartosz Taudul
a6a3f45810
Fill in thread id during dequeue, not during enqueue.
2019-07-30 01:15:14 +02:00
Bartosz Taudul
142ef53b42
Dequeue items from a single thread.
2019-07-29 23:44:08 +02:00
Bartosz Taudul
c7f769c52b
Allow dequeuing from a single producer, retrieving thread id.
2019-07-29 23:29:30 +02:00
Bartosz Taudul
6cad76ae67
Store thread id in queue producer.
2019-07-29 23:13:06 +02:00
Bartosz Taudul
7ae9a28e32
Drop BlockingConcurrentQueue.
2019-07-29 22:58:13 +02:00
Bartosz Taudul
480a427e07
No need to hash thread ids anymore.
2019-07-29 22:36:04 +02:00
Bartosz Taudul
c60af95053
Remove unused const.
2019-07-29 22:33:32 +02:00
Bartosz Taudul
2d42abf552
Remove CannoAlloc functions.
2019-07-29 22:31:32 +02:00
Bartosz Taudul
b142860c8d
More implicit producer removal.
2019-07-29 22:29:39 +02:00
Bartosz Taudul
db6eceb1a6
Producers must be explicit.
2019-07-29 22:25:28 +02:00
Bartosz Taudul
89928fde7b
Queue must be always able to alloc.
2019-07-29 22:13:16 +02:00
Bartosz Taudul
a03734afa6
Remove more debug code.
2019-07-29 22:01:06 +02:00
Bartosz Taudul
e9a0145cd5
Remove MCDBGQ_NOLOCKFREE_IMPLICITPRODBLOCKINDEX.
2019-07-29 21:56:53 +02:00
Bartosz Taudul
b496f1ff90
Remove MOODYCAMEL_QUEUE_INTERNAL_DEBUG.
2019-07-29 21:52:49 +02:00
Bartosz Taudul
beaadc3a56
Remove always disabled MCDBGQ_TRACKMEM code.
2019-07-29 21:51:29 +02:00
Bartosz Taudul
82a4a6d9cc
Add tracy_ prefix to concurrentqueue.h file name.
2019-07-29 21:47:50 +02:00
Bartosz Taudul
276d764141
Fix cygwin.
2019-07-26 00:02:57 +02:00
Bartosz Taudul
36de7b2cc7
Fix incomplete headers.
2019-07-25 23:41:42 +02:00
Bartosz Taudul
e659220602
Use generic std::call_once() on other platforms.
2019-07-25 23:30:47 +02:00
Bartosz Taudul
d31d1f5946
Detect and report clang-cl.
2019-07-25 19:03:58 +02:00
Bartosz Taudul
092e830264
Use shifts instead of const vector and.
2019-07-22 19:56:47 +02:00
Bartosz Taudul
178dc9eba7
Combine block data directly in AVX registers.
2019-07-20 14:52:34 +02:00
Bartosz Taudul
a6300ef7d1
Ditto on ARM.
2019-07-19 22:13:56 +02:00
Bartosz Taudul
dc49f2f76a
Move DXT1 index conversion to server.
2019-07-19 21:46:58 +02:00
Bartosz Taudul
11ba77ced5
Use pthread_once() to initialize rpmalloc on linux.
2019-07-19 20:15:56 +02:00
Bartosz Taudul
4c28593031
Fix races in rpmalloc initialization.
...
Ensure rpmalloc_thread_initialize() int worker threads is called only after
rpmalloc_initialize() was called on the main profiler thread.
2019-07-19 19:25:27 +02:00
Bartosz Taudul
cef8124247
Replace or with addition to enable usra instruction.
2019-07-19 01:40:27 +02:00
Bartosz Taudul
fd4689a6e2
Don't perform unnecessary ands.
2019-07-19 01:19:52 +02:00
Bartosz Taudul
f65373ece7
Replace two packs with one shuffle.
2019-07-13 20:01:12 +02:00
Bartosz Taudul
fc83f97ad3
Same for AVX/SSE.
2019-07-13 19:34:08 +02:00
Bartosz Taudul
62a167541c
No need to mask out indices.
2019-07-13 19:07:25 +02:00
Alex
0c5ea710b0
Merged in z33ky/tracy/const-frame-image (pull request #37 )
...
Constify frame-image pointer in API.
2019-07-13 13:09:21 +00:00
Bartosz Taudul
7bb9549e84
ARM64 specific NEON implementation of DXT1 compression.
2019-07-13 14:31:33 +02:00
Alexander 'z33ky' Hirsch
c6e8dc8d63
Constify frame-image pointer in API.
2019-07-13 12:33:55 +02:00
Bartosz Taudul
60d2384a6a
Allow sending application information messages.
2019-07-12 18:34:46 +02:00