Bug 1244684 - FX_TAB_SWITCH_TOTAL_MS is broken
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7ba8c86f1a56&tochange=4c4f75c20e9b

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7ba8c86f1a56&tochange=cea75ce9a559

Ah… this was broken with OMTC.

Maybe just need to put PostPresent in the right place in ClientLayerManager...

BAH, so this isn’t exactly right. We’re measuring the wrong thing - this old way of measuring is getting the amount of time it takes for the parent to update the internal state, and then to paint things, but NOT to upload the painted textures nor to composite them.

What we really want to do is measure from the point where the tab selection starts, to the point where we get the next MozAfterPaint. That captures tab selection, painting, and compositing.