pub fn total(&self) -> usize {
        self.main_vm.ceil() as usize
            + self.ram_permutation.ceil() as usize
            + self.storage_application.ceil() as usize
            + self.storage_sorter.ceil() as usize
            + self.code_decommitter.ceil() as usize
            + self.code_decommitter_sorter.ceil() as usize
            + self.log_demuxer.ceil() as usize
            + self.events_sorter.ceil() as usize
            + self.keccak256.ceil() as usize
            + self.ecrecover.ceil() as usize
            + self.sha256.ceil() as usize
            + self.secp256k1_verify.ceil() as usize
            + self.transient_storage_checker.ceil() as usize
            + self.modexp as usize
            + self.ecadd as usize
            + self.ecmul as usize
            + self.ecpairing as usize
    }
Rounds up numbers and adds them.
core/lib/vm_interface/src/types/outputs/statistic.rs