Skip to content

Commit

Permalink
fix: Remove unused elapsed_time field on Android profile (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
phacops authored Sep 27, 2024
1 parent 7f0d2a0 commit 0057d48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
- Handle js profile normalization for react+android profiles ([#499](https://github.com/getsentry/vroom/pull/499))
- Fix metrics example list ([#505](https://github.com/getsentry/vroom/pull/505))
- Increase readjob channel size ([#512](https://github.com/getsentry/vroom/pull/512))
- Return the duration measured by the profiler. ([#516](https://github.com/getsentry/vroom/pull/516))
- Return the duration measured by the profiler. ([#516](https://github.com/getsentry/vroom/pull/516), [#517](https://github.com/getsentry/vroom/pull/517))

**Internal**:

Expand Down
11 changes: 5 additions & 6 deletions internal/profile/android.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,11 @@ type AndroidEvent struct {

type (
Android struct {
Clock Clock `json:"clock"`
ElapsedTimeUS uint64 `json:"elapsed_time,omitempty"`
Events []AndroidEvent `json:"events,omitempty"`
Methods []AndroidMethod `json:"methods,omitempty"`
StartTime uint64 `json:"start_time,omitempty"`
Threads []AndroidThread `json:"threads,omitempty"`
Clock Clock `json:"clock"`
Events []AndroidEvent `json:"events,omitempty"`
Methods []AndroidMethod `json:"methods,omitempty"`
StartTime uint64 `json:"start_time,omitempty"`
Threads []AndroidThread `json:"threads,omitempty"`
}

Clock string
Expand Down

0 comments on commit 0057d48

Please sign in to comment.