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

fix: Return the duration measured by the profiler #516

Merged
merged 5 commits into from
Sep 27, 2024

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Sep 27, 2024

This would use the same field for duration as https://github.com/getsentry/relay/blob/master/relay-profiling/src/android.rs#L130 which is the duration of the profile measured by the profiler https://android.googlesource.com/platform/art/+/master/runtime/trace.cc#1135.

We always set the duration_ns value now so I can return it directly from the metadata, not having to look through the profile.

@phacops phacops requested a review from a team as a code owner September 27, 2024 21:54
@phacops phacops merged commit 7f0d2a0 into main Sep 27, 2024
13 checks passed
@phacops phacops deleted the pierre/fix-duration-in-android-profiles branch September 27, 2024 22:20
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