Commit Graph

218 Commits

Author SHA1 Message Date
Martin Ridgers
ed784c2482 Add sync points into the trace stream.
These will help analysis know where the world was sampled at runtime in relation to the stream of data it is receiving. With these discrete points in time it is then possible to reason about gaps in events' serial numbers that can occur when late-connecting.

#rb jb
#jira ue-127376
#rnx
#preflight 615aedb7fe00590001c1440f

[CL 17720409 by Martin Ridgers in ue5-main branch]
2021-10-05 09:30:32 -04:00
martin ridgers
c7d0af43ed Use 'Mask' instead of 'Range - 1'
#rb trivial
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706958 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706963 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 09:04:54 -04:00
Martin Ridgers
24289681a4 Use 'Mask' instead of 'Range - 1'
#rb trivial
#rnx

[CL 17706958 by Martin Ridgers in ue5-main branch]
2021-10-04 09:04:24 -04:00
martin ridgers
48b835041d Moved the heap update out of the loop and into a lambda.
The update is also done after dispatching events to analyzers now instead of before so the Stream object is valid for the entire scope

#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706914 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706932 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 09:00:20 -04:00
Martin Ridgers
2b3874d516 Moved the heap update out of the loop and into a lambda.
The update is also done after dispatching events to analyzers now instead of before so the Stream object is valid for the entire scope

#rb none
#rnx

[CL 17706914 by Martin Ridgers in ue5-main branch]
2021-10-04 08:59:13 -04:00
martin ridgers
a866e49af3 Always process both classes of trace events each update
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706844 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706852 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:49:53 -04:00
Martin Ridgers
3a51b54cf2 Always process both classes of trace events each update
#rb none
#rnx

[CL 17706844 by Martin Ridgers in ue5-main branch]
2021-10-04 08:49:19 -04:00
martin ridgers
050783fa29 Split OnNormalEvents() into two methods
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706824 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706834 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:47:20 -04:00
Martin Ridgers
1f832492a9 Split OnNormalEvents() into two methods
#rb none
#rnx

[CL 17706824 by Martin Ridgers in ue5-main branch]
2021-10-04 08:46:40 -04:00
martin ridgers
8901b7c559 Use a less-than operator instead of a lambda for the event-desc heap
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706783 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706790 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:40:06 -04:00
Martin Ridgers
6325b992e7 Use a less-than operator instead of a lambda for the event-desc heap
#rb none
#rnx

[CL 17706783 by Martin Ridgers in ue5-main branch]
2021-10-04 08:39:31 -04:00
martin ridgers
86f89167d0 Changed scope of a struct function to class.
#rb trivial
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706751 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706774 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:38:35 -04:00
martin ridgers
3237af65d0 int -> int32
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706741 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706752 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:37:29 -04:00
Martin Ridgers
8781f60ccf Changed scope of a struct function to class.
#rb trivial
#rnx

[CL 17706751 by Martin Ridgers in ue5-main branch]
2021-10-04 08:37:25 -04:00
martin ridgers
d240032e62 Renamed Index member to something a little more descriptive
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706729 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706746 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:37:14 -04:00
Martin Ridgers
4e347969e1 int -> int32
#rb none
#rnx

[CL 17706741 by Martin Ridgers in ue5-main branch]
2021-10-04 08:36:03 -04:00
Martin Ridgers
b0cee6d2ee Renamed Index member to something a little more descriptive
#rb none
#rnx

[CL 17706729 by Martin Ridgers in ue5-main branch]
2021-10-04 08:34:45 -04:00
martin ridgers
8f0349f8d7 Always expect events to be contiguous.
Previously it was assumed that the earliest known event was a good starting point, but in reality analysis never has a complete view of the world to be able to make any decisions about the data it is receiving. New data could easily arrive that invalidates any assumptions. Now nothing is assumed. Proceed only when one particular event is encountered. Note that is not quite complete - it doesn't cover holes that can occur early in the data stream.

#rb jb
#jira ue-127376
#rnx
#preflight 615aec4ce3b24d0001496bb3

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706661 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17706666 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 08:26:55 -04:00
Martin Ridgers
829067e82d Always expect events to be contiguous.
Previously it was assumed that the earliest known event was a good starting point, but in reality analysis never has a complete view of the world to be able to make any decisions about the data it is receiving. New data could easily arrive that invalidates any assumptions. Now nothing is assumed. Proceed only when one particular event is encountered. Note that is not quite complete - it doesn't cover holes that can occur early in the data stream.

#rb jb
#jira ue-127376
#rnx
#preflight 615aec4ce3b24d0001496bb3

[CL 17706661 by Martin Ridgers in ue5-main branch]
2021-10-04 08:25:02 -04:00
martin ridgers
9b25096e7f Keep track of whether an event had a one or two byte event UID
#rb jb
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706443 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v878-17703426)

[CL 17706463 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 07:53:39 -04:00
Martin Ridgers
4a08fc7653 Keep track of whether an event had a one or two byte event UID
#rb jb
#rnx

[CL 17706443 by Martin Ridgers in ue5-main branch]
2021-10-04 07:52:24 -04:00
martin ridgers
adc5b6a1a9 Tolerance against situations where there was no trace event in between and enter/leave scope pair
#rb trivial
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17706428 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v878-17703426)

[CL 17706440 by martin ridgers in ue5-release-engine-test branch]
2021-10-04 07:52:19 -04:00
Martin Ridgers
65c9c13d1b Tolerance against situations where there was no trace event in between and enter/leave scope pair
#rb trivial
#rnx

[CL 17706428 by Martin Ridgers in ue5-main branch]
2021-10-04 07:50:57 -04:00
martin ridgers
2df1076c8d Keep track of which reader in the transport a stream came from.
#rb none
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17629516 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17629532 by martin ridgers in ue5-release-engine-test branch]
2021-09-27 08:49:36 -04:00
Martin Ridgers
b8b15bb103 Keep track of which reader in the transport a stream came from.
#rb none
#rnx

[CL 17629516 by Martin Ridgers in ue5-main branch]
2021-09-27 08:45:43 -04:00