[utils] handling different resolution support in stop watch

Instead of resolving to use System.currentTimeMillis(), now the user
can decide which type of resolution to support using the Resolution
class in a fairly simple way.