Bartosz Taudul
|
a9e1a9bddb
|
Calculate total time spent in source location.
This simple solution doesn't handle recursion at all.
|
2018-03-24 14:24:30 +01:00 |
|
Bartosz Taudul
|
fea0234a60
|
Change zone end "-1" comparisons to "0" comparisons.
|
2018-03-24 02:00:20 +01:00 |
|
Bartosz Taudul
|
6a4e58b545
|
Force inline compress/decompress thread id.
|
2018-03-24 01:31:58 +01:00 |
|
Bartosz Taudul
|
69b49f527d
|
Inline GetZoneEndDirect().
|
2018-03-23 02:06:44 +01:00 |
|
Bartosz Taudul
|
6e6addfa81
|
Use pdqsort.
|
2018-03-20 19:19:07 +01:00 |
|
Bartosz Taudul
|
ae55360a6d
|
Don't sort zones if statistics are disabled.
|
2018-03-20 19:12:42 +01:00 |
|
Bartosz Taudul
|
d8f7903a97
|
Use flat hash map for ptr mapping during data load.
|
2018-03-20 15:44:13 +01:00 |
|
Bartosz Taudul
|
ceeae3c2cf
|
Restore ordering of source location zones after load.
|
2018-03-20 14:56:42 +01:00 |
|
Bartosz Taudul
|
05eb4b7ebc
|
Don't use memcpy to terminate string.
|
2018-03-19 15:41:28 +01:00 |
|
Bartosz Taudul
|
2eece7c1f3
|
Reorder instructions.
|
2018-03-18 23:46:34 +01:00 |
|
Bartosz Taudul
|
d0519499f4
|
Store thread id next to zone ptr in source location zone list.
|
2018-03-18 20:45:49 +01:00 |
|
Bartosz Taudul
|
777d672e05
|
Thread id compression/decompression.
|
2018-03-18 20:45:22 +01:00 |
|
Bartosz Taudul
|
40c6f01a41
|
Perform search after condition was verified, not before.
|
2018-03-18 20:25:00 +01:00 |
|
Bartosz Taudul
|
3ac98beb5a
|
Use precalculated min/max time spans.
|
2018-03-18 20:20:24 +01:00 |
|
Bartosz Taudul
|
0f1f7c6813
|
Calculate min/max time spans for source locations.
|
2018-03-18 20:15:45 +01:00 |
|
Bartosz Taudul
|
43c3fe25ba
|
Put source location zone data into a struct.
|
2018-03-18 20:08:57 +01:00 |
|
Bartosz Taudul
|
7a4e7cbf86
|
Reduce data collection if TRACY_NO_STATISTICS is defined.
Statistical data collection is only useful if it's meant to be used.
Otherwise it only incurs CPU and memory cost.
|
2018-03-18 12:55:54 +01:00 |
|
Bartosz Taudul
|
e6b3f373c5
|
Add direct zone end getter.
|
2018-03-18 02:53:00 +01:00 |
|
Bartosz Taudul
|
c807b3f7ef
|
Getter for source location zones.
|
2018-03-18 02:35:39 +01:00 |
|
Bartosz Taudul
|
9830fa297e
|
Store per-source-location zone lists.
|
2018-03-18 02:05:33 +01:00 |
|
Bartosz Taudul
|
c5c81a73bc
|
Skip initialization of StringIdx.
That memory will be loaded from file.
|
2018-03-17 14:43:02 +01:00 |
|
Bartosz Taudul
|
81ff554c7d
|
Don't call ReadTimeline() when there's nothing to read.
|
2018-03-15 22:54:10 +01:00 |
|
Bartosz Taudul
|
9dfa9c95cb
|
Read and write whole ZoneEvent/GpuEvent data at once.
|
2018-03-15 21:59:16 +01:00 |
|
Bartosz Taudul
|
e5796af196
|
More efficient vector filling.
|
2018-03-15 21:42:00 +01:00 |
|
Bartosz Taudul
|
c510c9705b
|
No need to check for reserved space.
|
2018-03-15 21:32:06 +01:00 |
|
Bartosz Taudul
|
b7ba64a223
|
Microoptimize ReadTimeline().
|
2018-03-15 21:27:36 +01:00 |
|
Bartosz Taudul
|
5cb917e868
|
No nonsense union.
|
2018-03-04 17:52:51 +01:00 |
|
Bartosz Taudul
|
e9395cd988
|
Reconstruct source location payload map on data load.
|
2018-03-04 17:22:34 +01:00 |
|
Bartosz Taudul
|
a374114358
|
Use proper encoding of source location.
|
2018-03-04 17:17:37 +01:00 |
|
Bartosz Taudul
|
9170cfd943
|
First entry in sourceLocationExpand is special.
|
2018-03-04 16:57:57 +01:00 |
|
Bartosz Taudul
|
b48602f5d1
|
Implement search for matching source locations.
|
2018-03-04 16:52:45 +01:00 |
|
Bartosz Taudul
|
f99c6eec78
|
Simplify code.
|
2018-03-04 16:23:28 +01:00 |
|
Bartosz Szreder
|
3b9639a9de
|
Tweak included header files in View and Worker.
|
2018-02-23 15:08:20 +01:00 |
|
Bartosz Szreder
|
bae1c02ad0
|
Worker thread will take care of itself.
|
2018-02-21 16:41:37 +01:00 |
|
Bartosz Szreder
|
9e3f18a62a
|
Split data handling code from the view.
|
2018-02-21 16:41:37 +01:00 |
|