gecko-dev/toolkit
Kaku Kuo 5a09d32a1e Bug 1393399 P1 - add telemetry probes; r=francois,gerald
Here, we calculate the recovery time from two different start points because that when GPU crashes, VideoDecoderChild::ActorDestory() is called, but VideoDecoderChild doesn't dispatch events to trigger decoder recreation immediately.
Instead, it waits until a new VideoDecoderManager has been recreated [1], and then rejects all pending promises to MFR with a NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER, which triggers playback pipeline recreation.

These two probes help us to know the gap between "GPU crash" and "MFR is notified". We don't need to wait for VideoDecoderManager recreation if we're certain that we don't create remote video decoder anymore. And if the gap is large, it might be a significant optimization.

[1] http://searchfox.org/mozilla-central/rev/51b3d67a5ec1758bd2fe7d7b6e75ad6b6b5da223/dom/media/ipc/VideoDecoderChild.cpp#124-145

MozReview-Commit-ID: DcI2CwWORxZ

--HG--
extra : rebase_source : 2f69330b9721cd4d6895f93b3a3cbc740de54e8c
2017-09-01 11:00:44 +08:00
..
components Bug 1393399 P1 - add telemetry probes; r=francois,gerald 2017-09-01 11:00:44 +08:00
content Bug 1395776 - Fold replace-malloc into mozjemalloc. r=njn 2017-08-31 12:02:01 +09:00
crashreporter Bug 1391685 Copy missing WideToMBCPto minidump-analyzer standalone program for gcc build r=gsvelto 2017-08-29 12:15:02 -05:00
forgetaboutsite Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8 2017-08-23 13:38:24 +01:00
library No bug - Revendor rust dependencies 2017-09-02 00:17:56 +00:00
locales Bug 1396000 - Remove unnecessary line feeds in aboutTelemetry.dtd, remove unused strings r=chutten 2017-09-01 18:52:32 +02:00
modules Bug 1395795 - Convert RemoteController.jsm into a normal JS script in order to avoid paying the cost of wrapping the arrays passed in the arguments; r=Mossop 2017-09-01 15:12:08 -04:00
mozapps merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-01 10:38:51 +02:00
pluginproblem Bug 1369755 part A - Add context about browser performance to the in-content UI.Remove the tap-to-activate UI on desktop, because we don't specifically say "click" on desktop anyway, and we don't want/need to customize it from PluginContent.jsm. ui-review=sbarrett r=felipe 2017-06-08 11:43:05 -04:00
profile Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot 2017-08-06 13:15:31 +09:00
system Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
themes Bug 1393385 - Update about:preferences category menu to match the spec r=jaws 2017-08-24 18:34:57 +08:00
xre Bug 1395990 - remove Services.appinfo.isOfficial;r=mossop 2017-09-01 18:57:43 +02:00
.eslintrc.js Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
moz.build
moz.configure Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin 2017-08-17 17:30:57 -07:00
nss.configure
toolkit.mozbuild Bug 1393454 Do not compile rust gtest crate if --disable-tests is set r=ted 2017-08-28 13:12:24 -05:00