rename confusing variable
This commit is contained in:
parent
a2aa2a0dc3
commit
744d29fd21
@ -264,7 +264,7 @@ func (t *TipSetExecutor) ApplyBlocks(ctx context.Context,
|
|||||||
return cid.Cid{}, cid.Cid{}, err
|
return cid.Cid{}, cid.Cid{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
vmCron := partDone()
|
vmDoCron := partDone()
|
||||||
partDone = metrics.Timer(ctx, metrics.VMApplyFlush)
|
partDone = metrics.Timer(ctx, metrics.VMApplyFlush)
|
||||||
|
|
||||||
rectarr := blockadt.MakeEmptyArray(sm.ChainStore().ActorStore(ctx))
|
rectarr := blockadt.MakeEmptyArray(sm.ChainStore().ActorStore(ctx))
|
||||||
@ -303,7 +303,7 @@ func (t *TipSetExecutor) ApplyBlocks(ctx context.Context,
|
|||||||
vmFlush := partDone()
|
vmFlush := partDone()
|
||||||
partDone = func() time.Duration { return time.Duration(0) }
|
partDone = func() time.Duration { return time.Duration(0) }
|
||||||
|
|
||||||
log.Infow("ApplyBlocks stats", "early", vmEarly, "earlyCronGas", earlyCronGas, "vmMsg", vmMsg, "msgGas", msgGas, "vmCron", vmCron, "cronGas", cronGas, "vmFlush", vmFlush, "epoch", epoch, "tsk", ts.Key())
|
log.Infow("ApplyBlocks stats", "early", vmEarly, "earlyCronGas", earlyCronGas, "vmMsg", vmMsg, "msgGas", msgGas, "vmCron", vmDoCron, "cronGas", cronGas, "vmFlush", vmFlush, "epoch", epoch, "tsk", ts.Key())
|
||||||
|
|
||||||
stats.Record(ctx, metrics.VMSends.M(int64(atomic.LoadUint64(&vm.StatSends))),
|
stats.Record(ctx, metrics.VMSends.M(int64(atomic.LoadUint64(&vm.StatSends))),
|
||||||
metrics.VMApplied.M(int64(atomic.LoadUint64(&vm.StatApplied))))
|
metrics.VMApplied.M(int64(atomic.LoadUint64(&vm.StatApplied))))
|
||||||
|
Loading…
Reference in New Issue
Block a user