I would like to programatically determine the time it takes for a page to load similar to how some extensions (e.g. Speed Tracer) do it. For instance I would like to know when certain key events are triggered such as network connections, DOM Load events and SSL network timings.

Because extensions are not supported on Chrome for Android is there a way to do it in code?