Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const ACOffset + const Abci + const AnteChain + const AnteChainDetail + const AnteOther + const ApplyBlock + const BTInterval + const BlockParts + const BlockPartsP2P + const BlockSize + const Bloomfilter + const CacheStoreWrite + const CacheTxContext + const CommitRound + const CommitStores + const CompressBlock + const Consensus + const DeliverTx + const DeliverTxs + const Delta + const EVMALL + const EVMCORE + const EVM_FORMAT + const Elapsed + const EmitEvents + const Evm + const EvmHandler + const EvmHandlerDetail + const First2LastPart + const FlagEnableAnalyzer + const FlatKV + const FlushCache + const FlushMeta + const GasUsed + const HandlerDefer + const Height + const Iavl + const IavlRuntime + const InvalidTxs + const IsCongested + const LastBlockTime + const LastRun + const MempoolCheckTxCnt + const MempoolCheckTxTime + const MempoolTxsCnt + const ParseChainID + const Persist + const PersistDetails + const Prerun + const Produce + const READ + const RecommendedGP + const Refund + const Round + const RunAnte + const RunAnteDetail + const RunMsg + const RunTx + const SaveTx + const SigCacheRatio + const SimGasUsed + const SimTx + const Storage + const TransitionDb + const Tx + const TxDecoder + const Txhash + const UNKNOWN_TYPE + const UncompressBlock + const UpdateState + const ValTxMsgs + const VerifySig + const WRITE + const Waiting + const Workload + var EVM_OPER = []string + var STATEDB_READ = []string + var STATEDB_WRITE = []string + func EnableAnalyzer(flag bool) + func InitializePprofDumper(logger log.Logger, dumpPath string, coolDownStr string, abciElapsed int64) + func OnAppBeginBlockEnter(height int64) + func OnAppDeliverTxEnter() + func OnCommitDone() + func SetDynamicConfig(c IDynamicConfig) + func SetInfoObject(e IElapsedTimeInfos) + func StartTxLog(oper string) + func StopTxLog(oper string) + type Analyzer struct + type BaseStatistics interface + Accumulate func(tag string, lastPinTime time.Time) + GetTags func() []string + GetValue func(tag string) int64 + Init func(tags ...string) + type DbRecord struct + func (s *DbRecord) AddOperType(oper string, value int) + func (s *DbRecord) GetOperType(oper string) int + type EmptyTimeInfo struct + func (e *EmptyTimeInfo) AddInfo(key string, info string) + func (e *EmptyTimeInfo) Dump(logger interface{}) + func (e *EmptyTimeInfo) GetElapsedTime() int64 + func (e *EmptyTimeInfo) SetElapsedTime(elapsedTime int64) + type IDynamicConfig interface + GetEnableAnalyzer func() bool + type IElapsedTimeInfos interface + AddInfo func(key string, info string) + Dump func(logger interface{}) + GetElapsedTime func() int64 + SetElapsedTime func(elapsedTime int64) + func GetElapsedInfo() IElapsedTimeInfos + type MockDynamicConfig struct + func (c MockDynamicConfig) GetEnableAnalyzer() bool + type StatisticsCell interface + EndTiming func(tag string) + StartTiming func() + type Summary struct + func GetTraceSummary() *Summary + func NewSummary() *Summary + func (s *Summary) Accumulate(tag string, lastPinTime time.Time) + func (s *Summary) Dump(context string) + func (s *Summary) GetTags() []string + func (s *Summary) GetValue(tag string) int64 + func (s *Summary) Init(tags ...string) + type Tracer struct + func NewTracer(name string) *Tracer + func (t *Tracer) EnableSummary() + func (t *Tracer) Format() string + func (t *Tracer) FormatRepeatingPins(ignoredTags string) string + func (t *Tracer) GetElapsedTime() int64 + func (t *Tracer) Pin(format string, args ...interface{}) + func (t *Tracer) RepeatingPin(format string, args ...interface{}) + func (t *Tracer) Reset() + func (t *Tracer) SetWorkloadStatistic(wls *WorkloadStatistic) + type WorkloadStatistic struct + func GetApplyBlockWorkloadSttistic() *WorkloadStatistic + func (ws *WorkloadStatistic) Add(tag string, endTime time.Time, duration time.Duration) + func (ws *WorkloadStatistic) Format() string