added bench, added stat function

Change-Id: Ic5b245f2be1d87b524925d185fed5d89d4de8a93