[PLAT-3362] Optimize function costs master
Remove System.out
[PLAT-3372] Add database clock with higher than 1/2 sec resolution