Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplyMessage = iota ApplyTransaction CliqueSeal CliqueSnapshot CliqueVerifySeal CreateBloom Finalize GetLogs IntermediateRoot NewEVMContext NewEVMPool NewReceipt Process SignerSender StatedbFinalize StatedbPrepare TxAsMessage )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NoopSection ¶
type NoopSection struct { }
func (*NoopSection) Count ¶
func (ps *NoopSection) Count() int64
func (*NoopSection) Name ¶
func (ps *NoopSection) Name() string
func (*NoopSection) Stop ¶
func (ps *NoopSection) Stop()
func (*NoopSection) TotalDuration ¶
func (ps *NoopSection) TotalDuration() time.Duration
type PerfRunNormal ¶
type PerfRunNormal struct {
// contains filtered or unexported fields
}
func (*PerfRunNormal) Stop ¶
func (pr *PerfRunNormal) Stop()
type PerfSection ¶
type PerfSectionNormal ¶
type PerfSectionNormal struct {
// contains filtered or unexported fields
}
func (*PerfSectionNormal) Count ¶
func (ps *PerfSectionNormal) Count() int64
func (*PerfSectionNormal) Name ¶
func (ps *PerfSectionNormal) Name() string
func (*PerfSectionNormal) TotalDuration ¶
func (ps *PerfSectionNormal) TotalDuration() time.Duration
type PerfTimer ¶
PerfTimer is a way to time pieces of code, in particular ones that happen many times, then get the metrics for it.
func NewPerfTimer ¶
func NewPerfTimer() PerfTimer
type PerfTimerNormal ¶
PerfTimerNormal great name huh?
func (*PerfTimerNormal) Fprint ¶
func (pt *PerfTimerNormal) Fprint(w io.Writer)
func (*PerfTimerNormal) Print ¶
func (pt *PerfTimerNormal) Print() string
func (*PerfTimerNormal) Start ¶
func (pt *PerfTimerNormal) Start(s section) PerfRun
Click to show internal directories.
Click to hide internal directories.