[DF-512] Added generic hash function for pointers
Enabled time profiling, and it's added to couple of subsystems.