solana_program::compute_units

Function sol_remaining_compute_units

source
pub fn sol_remaining_compute_units() -> u64
Expand description

Return the remaining compute units the program may consume