Versions in this module Expand all Collapse all v1 v1.0.0 Apr 10, 2023 Changes in this version + const TIME_ELEMENT_ACTION + const TIME_ELEMENT_COMMAND + const TIME_ELEMENT_JOB + const TIME_ELEMENT_MODULE + const TIME_ELEMENT_NET + const TIME_ELEMENT_TASK + const TIME_ELEMENT_TIMER + var Config = Configuration + var TimeStatisticMgr = &timeStatisticMgr + func FreeWatcher(t *TimeWatcher) + func GetStats() map[string]TimeElement + type Configuration struct + SlowMS int + func (c *Configuration) Close() error + func (c *Configuration) Init() error + func (c *Configuration) Name() string + type TimeElement struct + ElementType int + MaxTick int64 + MinTick int64 + Name string + Times int64 + TotalTick int64 + type TimeWatcher struct + func AllocWatcher() *TimeWatcher + func (this *TimeWatcher) Stop() + type WatcherPool struct + func NewWatcherPool(num int) *WatcherPool + func (wp *WatcherPool) Get() (t *TimeWatcher) + func (wp *WatcherPool) Give(t *TimeWatcher)