Documentation ¶
Index ¶
Constants ¶
View Source
const ( GasUsed = "GasUsed" Produce = "Produce" RunTx = "RunTx" Height = "Height" Tx = "Tx" BlockSize = "BlockSize" Elapsed = "Elapsed" CommitRound = "CommitRound" Round = "Round" Evm = "Evm" Iavl = "Iavl" FlatKV = "FlatKV" WtxRatio = "WtxRatio" SigCacheRatio = "SigCacheRatio" DeliverTxs = "DeliverTxs" EvmHandlerDetail = "EvmHandlerDetail" RunAnteDetail = "RunAnteDetail" AnteChainDetail = "AnteChainDetail" Delta = "Delta" Abci = "abci" InvalidTxs = "InvalidTxs" SaveResp = "saveResp" Persist = "persist" SaveState = "saveState" ApplyBlock = "ApplyBlock" Consensus = "Consensus" MempoolCheckTxCnt = "checkTxCnt" MempoolTxsCnt = "mempoolTxsCnt" Prerun = "Prerun" )
Variables ¶
This section is empty.
Functions ¶
func SetInfoObject ¶
func SetInfoObject(e IElapsedTimeInfos)
Types ¶
type EmptyTimeInfo ¶
type EmptyTimeInfo struct { }
func (*EmptyTimeInfo) AddInfo ¶
func (e *EmptyTimeInfo) AddInfo(key string, info string)
func (*EmptyTimeInfo) Dump ¶
func (e *EmptyTimeInfo) Dump(logger log.Logger)
func (*EmptyTimeInfo) GetElapsedTime ¶
func (e *EmptyTimeInfo) GetElapsedTime() int64
func (*EmptyTimeInfo) SetElapsedTime ¶
func (e *EmptyTimeInfo) SetElapsedTime(elapsedTime int64)
type IElapsedTimeInfos ¶
type IElapsedTimeInfos interface { AddInfo(key string, info string) Dump(logger log.Logger) SetElapsedTime(elapsedTime int64) GetElapsedTime() int64 }
func GetElapsedInfo ¶
func GetElapsedInfo() IElapsedTimeInfos
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) FormatRepeatingPins ¶ added in v1.1.9
func (*Tracer) GetElapsedTime ¶
func (*Tracer) RepeatingPin ¶ added in v1.1.9
Click to show internal directories.
Click to hide internal directories.