-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kotlin: Dispatch metric recording for event, object and timing distri…
…bution on the task queue This allows us to delay executing those until Glean gets initialized and thus the core library is loaded. This is important for Fenix startup where we use `libxul` from Gecko, but want it to be loaded by GeckoView code before Glean accesses it. The three metric types for which this is currently implemented are the three metric types that are currently recorded early during Fenix' startup (by Nimbus). For the timing distribution this task dispatching is ONLY used for the `accumulate` methods. We can't do that for start/stop, because the timings are handled within glean-core.
- Loading branch information
Showing
3 changed files
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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