[m] Added functional time counting