PrintStats prints the corresponding statistics from the app DB.
(db dbm.DB)
| 104 | |
| 105 | // PrintStats prints the corresponding statistics from the app DB. |
| 106 | func 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 | } |
no outgoing calls