Made the DB profiler use startAtomic()

Change-Id: I6eadd071c16781b320d0c8c518e6184a4c38d874
Merge "Made the DB profiler use startAtomic()"