mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 09:01:21 +00:00
Add tests for metering, add option to compiler config
This commit is contained in:
@ -350,6 +350,16 @@ impl Ctx {
|
||||
pub fn dynamic_sigindice_count(&self) -> usize {
|
||||
unsafe { (*self.local_backing).dynamic_sigindices.len() }
|
||||
}
|
||||
|
||||
/// Returns the number of points used by a function call for metering
|
||||
pub fn get_points_used(&self) -> u64 {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
/// Sets the value of points used
|
||||
pub fn set_points_used(&mut self, _value: u64) {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
|
Reference in New Issue
Block a user