Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MsgMeasurementPoint [AP-653] #1388

Merged
merged 3 commits into from
Jan 5, 2024
Merged

Conversation

woodfell
Copy link
Contributor

@woodfell woodfell commented Dec 8, 2023

Description

@swift-nav/devinfra

Create a new message to output profiling information from measurement points.

Current version of some product will output measurement point profiling information in the LinuxCPUState message making use of the cmdline field to serialise various bits of information. Some other bits of information are placed in to the other fields in LinuxCpuState but since the fields are already defined the names are misleading.

This PR introduces a dedicated message which contains the same information as is currently sent but broken out in to fields with the correct types. This removes the need to serialise/deserialise this information once products are updated to use this message instead.

API compatibility

Does this change introduce a API compatibility risk?

No

API compatibility plan

If the above is "Yes", please detail the compatibility (or migration) plan:

No

JIRA Reference

https://swift-nav.atlassian.net/browse/AP-653

@woodfell woodfell force-pushed the woodfell/dedicated_profiling_msg branch from babc7c4 to 0ab7335 Compare December 8, 2023 07:07
@woodfell woodfell force-pushed the woodfell/dedicated_profiling_msg branch 2 times, most recently from 718003c to ae709c5 Compare December 19, 2023 21:46
@woodfell woodfell marked this pull request as ready for review December 20, 2023 06:19
Copy link
Contributor

@richarddeurloo richarddeurloo left a comment

Choose a reason for hiding this comment

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

LGTM.

"slice_time": 261963842, "line": 18, "func": "route()\u0000",
"payload": "+gcAALQAAgAAACgAAACCyZSNYVUAABKCyZQAAAAAQkCdDwAAAAASAHJvdXRlKCkA"
}'

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: this new line seems unnecessary.

@woodfell woodfell force-pushed the woodfell/dedicated_profiling_msg branch from ae709c5 to 0bae518 Compare January 3, 2024 01:09
@woodfell woodfell requested a review from a team as a code owner January 3, 2024 01:09
@woodfell woodfell force-pushed the woodfell/dedicated_profiling_msg branch from 0bae518 to e05062e Compare January 4, 2024 04:12
Copy link

sonarcloud bot commented Jan 4, 2024

Quality Gate Passed Quality Gate passed for 'libsbp-c'

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
97.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@woodfell woodfell merged commit eeeea1c into master Jan 5, 2024
37 checks passed
@woodfell woodfell deleted the woodfell/dedicated_profiling_msg branch January 5, 2024 00:57
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.

3 participants