Expand description
Interface that provides functions for benchmarking the runtime.
Structs§
- Host
Functions - Provides implementations for the extern host functions.
Functions§
- add_
to_ whitelist - commit_
db - Commit pending storage changes to the trie database and clear the database cache.
- current_
time - Get the number of nanoseconds passed since the UNIX epoch, as u128 le-bytes.
- get_
read_ and_ written_ keys - get_
whitelist - Get the DB whitelist.
- proof_
size - Get current estimated proof size.
- read_
write_ count - Get the read/write count.
- remove_
from_ whitelist - reset_
read_ write_ count - Reset the read/write count.
- set_
whitelist - Set the DB whitelist.
- wipe_db
- Reset the trie database to the genesis state.