MCPcopy Create free account
hub / github.com/akash-network/node / PrintStats

Function PrintStats

app/sim/sim_utils.go:106–110  ·  view source on GitHub ↗

PrintStats prints the corresponding statistics from the app DB.

(db dbm.DB)

Source from the content-addressed store, hash-verified

104
105// PrintStats prints the corresponding statistics from the app DB.
106func PrintStats(db dbm.DB) {
107 fmt.Println("\nLevelDB Stats")
108 fmt.Println(db.Stats()["leveldb.stats"])
109 fmt.Println("LevelDB cached block size", db.Stats()["leveldb.cachedblock"])
110}

Callers 4

TestFullAppSimulationFunction · 0.92
TestAppImportExportFunction · 0.92
TestAppStateDeterminismFunction · 0.92

Calls

no outgoing calls

Tested by 4

TestFullAppSimulationFunction · 0.74
TestAppImportExportFunction · 0.74
TestAppStateDeterminismFunction · 0.74