Bartosz Taudul
947cd04e5e
General solution for string pointer/index problem.
2017-11-11 01:39:34 +01:00
Bartosz Taudul
c6a7bcb086
Store source location payloads.
...
No saving yet. No detection of duplicate entries.
2017-11-05 21:24:50 +01:00
Bartosz Taudul
3d2450fc10
Store source locations in a proper data structure.
2017-11-05 20:54:49 +01:00
Bartosz Taudul
9524b6447e
Pack LockEvent data, saving one byte.
2017-10-29 16:49:22 +01:00
Bartosz Taudul
39ac41bc19
Store source location on 32 bits, not 64.
2017-10-28 22:14:01 +02:00
Bartosz Taudul
cc8683a399
Store TextData pointer as an index in array.
...
This further reduces ZoneEvent size by 4 bytes.
2017-10-22 16:40:15 +02:00
Bartosz Taudul
2e6350877d
Remove parent pointer from ZoneEvent.
2017-10-22 16:15:27 +02:00
Bartosz Taudul
7345ca5aa6
Rename Event to ZoneEvent.
2017-10-22 15:37:24 +02:00
Bartosz Taudul
75457c1465
Remove +x flag from files.
2017-10-10 21:56:15 +02:00
Bartosz Taudul
a6c5993401
Fix locks with more than two threads.
2017-10-08 23:03:38 +02:00
Bartosz Taudul
71e16d069e
Store lock mark locations.
2017-10-06 18:04:17 +02:00
Bartosz Taudul
78067eb35e
Calculate lock wait counts.
2017-10-05 14:02:08 +02:00
Bartosz Taudul
4c8e9f7d5d
Track number of held locks.
2017-10-04 19:42:44 +02:00
Bartosz Taudul
54735bacea
Lock events dispatch.
2017-10-04 18:51:50 +02:00
Bartosz Taudul
c2bccf7126
Move towards proper data structures.
2017-10-04 18:32:53 +02:00
Bartosz Taudul
4fad4be816
Pack event structures.
2017-10-04 18:12:11 +02:00
Bartosz Taudul
78f8425dc7
Announce lock creation.
2017-10-04 16:16:40 +02:00
Bartosz Taudul
91fd171b60
Store CPU id in zones.
2017-10-01 19:17:29 +02:00
Bartosz Taudul
8c1c395cec
Allow sending custom zone names.
2017-09-28 19:28:24 +02:00
Bartosz Taudul
91e6210e34
Store zone text data in a separate structure.
2017-09-28 19:06:39 +02:00
Bartosz Taudul
d1bbb731fc
Zone text (custom string) transfer.
2017-09-27 02:18:17 +02:00
Bartosz Taudul
e90a86e06e
Store zone color in source location struct.
2017-09-26 18:54:48 +02:00
Bartosz Taudul
7424077d70
Store source location in a single object.
...
Source file, function name and line number are now stored in a const
static container object. This has the following benefits:
- Slightly lighter profiling workload (3 instructions less).
- Profiling queue event size is significantly reduced, by 12 bytes. This
has an effect on all queue event types.
- Source location grouping has now no cost, as it's performed at the
compilation stage. This allows simplification of server code.
The downside is that the full source location resolution is now
performed in two steps, as the server has to query both source location
container and strings contained within. This has almost no real impact
on profiler operation.
2017-09-26 02:39:08 +02:00
Bartosz Taudul
519cb8dff3
Allow adding custom colors to zones.
2017-09-25 22:46:14 +02:00
Bartosz Taudul
a68b0921b1
Add parent pointer to Event.
2017-09-23 15:41:26 +02:00
Bartosz Taudul
5065743bf0
Store zone source location.
2017-09-21 21:57:40 +02:00
Bartosz Taudul
b4faa0a9b9
Use small vector.
2017-09-15 20:17:39 +02:00
Bartosz Taudul
1c56347f1d
Use slab allocator to store event data.
2017-09-15 19:56:55 +02:00
Bartosz Taudul
a159b70d40
Reconstruct event data.
2017-09-14 02:00:13 +02:00