Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StopWatchEntry ¶
StopWatchEntry provides method to log measured time entries
type Stopwatch ¶
type Stopwatch struct {
// contains filtered or unexported fields
}
Stopwatch keeps all time measurement results
func NewStopwatch ¶
NewStopwatch creates a new stopwatch object with empty time map
type TimeLog ¶
type TimeLog struct {
// contains filtered or unexported fields
}
TimeLog is a wrapper for the measured data for specific name
func GetTimeLog ¶
GetTimeLog returns a pointer to the TimeLog object related to the provided name (derived from the <n> parameter). If stopwatch is not used, returns nil
Click to show internal directories.
Click to hide internal directories.