Trait pallet_message_queue::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn ready_ring_knit() -> Weight;
fn ready_ring_unknit() -> Weight;
fn service_queue_base() -> Weight;
fn service_page_base_completion() -> Weight;
fn service_page_base_no_completion() -> Weight;
fn service_page_item() -> Weight;
fn bump_service_head() -> Weight;
fn reap_page() -> Weight;
fn execute_overweight_page_removed() -> Weight;
fn execute_overweight_page_updated() -> Weight;
}
Expand description
Weight functions needed for pallet_message_queue
.
Required Methods§
fn ready_ring_knit() -> Weight
fn ready_ring_unknit() -> Weight
fn service_queue_base() -> Weight
fn service_page_base_completion() -> Weight
fn service_page_base_no_completion() -> Weight
fn service_page_item() -> Weight
fn bump_service_head() -> Weight
fn reap_page() -> Weight
fn execute_overweight_page_removed() -> Weight
fn execute_overweight_page_updated() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn ready_ring_knit() -> Weight
fn ready_ring_knit() -> Weight
Storage: MessageQueue::ServiceHead
(r:1 w:0)
Proof: MessageQueue::ServiceHead
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
Storage: MessageQueue::BookStateFor
(r:2 w:2)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
source§fn ready_ring_unknit() -> Weight
fn ready_ring_unknit() -> Weight
Storage: MessageQueue::BookStateFor
(r:2 w:2)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
Storage: MessageQueue::ServiceHead
(r:1 w:1)
Proof: MessageQueue::ServiceHead
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn service_queue_base() -> Weight
fn service_queue_base() -> Weight
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
source§fn service_page_base_completion() -> Weight
fn service_page_base_completion() -> Weight
Storage: MessageQueue::Pages
(r:1 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)
source§fn service_page_base_no_completion() -> Weight
fn service_page_base_no_completion() -> Weight
Storage: MessageQueue::Pages
(r:1 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)
source§fn service_page_item() -> Weight
fn service_page_item() -> Weight
Storage: MessageQueue::BookStateFor
(r:0 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:0 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)
source§fn bump_service_head() -> Weight
fn bump_service_head() -> Weight
Storage: MessageQueue::ServiceHead
(r:1 w:1)
Proof: MessageQueue::ServiceHead
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
Storage: MessageQueue::BookStateFor
(r:1 w:0)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
source§fn reap_page() -> Weight
fn reap_page() -> Weight
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:1 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)
source§fn execute_overweight_page_removed() -> Weight
fn execute_overweight_page_removed() -> Weight
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:1 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)
source§fn execute_overweight_page_updated() -> Weight
fn execute_overweight_page_updated() -> Weight
Storage: MessageQueue::BookStateFor
(r:1 w:1)
Proof: MessageQueue::BookStateFor
(max_values
: None, max_size
: Some(49), added: 2524, mode: MaxEncodedLen
)
Storage: MessageQueue::Pages
(r:1 w:1)
Proof: MessageQueue::Pages
(max_values
: None, max_size
: Some(65584), added: 68059, mode: MaxEncodedLen
)