Implemented Clock class in Profiler class

Implemented the new Clock class in the Profiler class, to improve time
management.