Skip to content

mem leak (false alarm) test fix - #8494

Merged
ev-mp merged 4 commits into
realsenseai:developmentfrom
nohayassin:dso_16625_fix
Mar 7, 2021
Merged

ev-mp merged 4 commits into
realsenseai:developmentfrom
nohayassin:dso_16625_fix

Conversation

@nohayassin

Copy link
Copy Markdown
Contributor

Fixed internal unit test : "Extrinsic memory leak detection"
Fix: accepting first arrived frame in each iteration regardless of its frame number
Track on DSO-16625

streams_delay[stream_type].push_back(time_of_arrival - start_time_milli);
new_frame[stream_type] = true;
}
new_frame[stream_type] += 1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is relevant to make sure that at least 20 new frames of each type are received to prevent FW issues (see condition to finish each iteration)

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ev-mp
ev-mp merged commit 8ac7f3d into realsenseai:development Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants