In EOS contract library, it supports the now()
and current_time()
method to get the current time, but it only represent the block time and won't be changed during the execution.
But now I want to print the real time in the contract console, because my contract cost too much cpu, I want to figure it out which code takes so much time, is there any method?