Commit Graph

8 Commits

Author SHA1 Message Date
Johan Berg
190178593b Consider if a buffer is in demand (someone asked for more data than it can provide) as a condition of processing more trace data.
While there may be data remaining in the buffer, there might not be enough to decode another transport packet. Thus it is not correct to only consider the remaining number of bytes in the buffer as a condition of continuing to process data. Fortunately there is a demain hint that is set when someone asks for more data than a stream reader can provide. This can be used to differentiate between data remaining in the buffer, and not being able to do anything more with it.

#rb martin.ridgers, johan.berg
#rm 5.0
#ushell-cherrypick of 18267675 by Martin.Ridgers
#jira UE-134430, UE-135475
#preflight 619cf19cf70a9e92db3b69f7

[CL 18269671 by Johan Berg in ue5-main branch]
2021-11-23 09:34:58 -05:00
Martin Ridgers
efbc14309b Added a backtrack call to be able to restore a reader to an earlier point in its buffer. Like marks, only for the times when one wasn't able to take a mark.
#rb none
#rnx
#preflight 6151a7b659c66a000102f21b

[CL 17629130 by Martin Ridgers in ue5-main branch]
2021-09-27 07:57:36 -04:00
Martin Ridgers
33a54c5351 Added a method to return the number of bytes remaining in a stream of trace data
#rb trivial
#rnx

[CL 16979476 by Martin Ridgers in ue5-main branch]
2021-07-28 03:36:35 -04:00
Martin Ridgers
be972be826 Moved the Trace namespace into the UE namespace.
#rb jb
#rnx

[CL 14762673 by Martin Ridgers in ue5-main branch]
2020-11-17 06:54:28 -04:00
Martin Ridgers
5bd4631489 Tweaked growth size of buffers that hold trace data during analysis.
#rb jb
#rnx

[CL 14732282 by Martin Ridgers in ue5-main branch]
2020-11-12 04:23:44 -04:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Stefan Boberg
d2f9a61b06 Copy-up from Dev-Core
#rb none

[CL 10419044 by Stefan Boberg in Main branch]
2019-11-25 12:03:09 -05:00