Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeTrack ¶
TimeTrack is a function that tracks the time spent and outputs specific timing information. This is important for chainquery profiling and is used throughout. It can be reused by just passing `always` as the profile. The basic usage is `defer util.TimeTrack(time.Now(),"<useful identifier>","<profile>")`. This should be placed at the top of the function where time is to be tracked, or at any point where you want to start tracking time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.