Repository navigation
BlackrockRawIO: read the recording events of spec 3.0 nev files - #1956
Open
h-mayorquin wants to merge 1 commit into
Open
h-mayorquin wants to merge 1 commit into
h-mayorquin wants to merge 1 commit into
Conversation
Contributor
Author
|
@cboulay could you review this one when you have time? |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The files that Chadwick shared in #1924 hold recording events (packet
0xFFF9) for a start, a pause, a resume and a stop, andBlackrockRawIOignores them. They came to the format with the 64-bit timestamps so only spec 3.0 has them. This PR reads them as a new event channelrecording_eventswith the labelsstart,stop,pauseandresume. The test uses Chadwick's event file on gin.As with every other packet of the
.nev, the segment bounds include these events. So a segment now starts at the recording start and ends at the recording stop when these are outside the data. I left out using the pauses to split segments as that depends on what we decide in #1937. This is another case for #1945: the generic tests already run on two spec 3.0 files with recording events but they would still pass with the labels swapped or with no events at all.