Add profiling

Change-Id: I9066f6b2606044412a9b91ca395e841550d7e787