EVMC
evmc_instruction_metrics Struct Reference

Metrics for an EVM 1 instruction. More...

#include <instructions.h>

Public Attributes

int16_t gas_cost
 The instruction gas cost.
 
int8_t stack_height_required
 The minimum number of the EVM stack items required for the instruction.
 
int8_t stack_height_change
 The EVM stack height change caused by the instruction execution, i.e.
 

Detailed Description

Metrics for an EVM 1 instruction.

Small integer types are used here to make the tables of metrics smaller.

Definition at line 187 of file instructions.h.

Member Data Documentation

◆ gas_cost

int16_t evmc_instruction_metrics::gas_cost

The instruction gas cost.

Definition at line 190 of file instructions.h.

◆ stack_height_change

int8_t evmc_instruction_metrics::stack_height_change

The EVM stack height change caused by the instruction execution, i.e.

stack height after execution - stack height before execution.

Definition at line 199 of file instructions.h.

◆ stack_height_required

int8_t evmc_instruction_metrics::stack_height_required

The minimum number of the EVM stack items required for the instruction.

Definition at line 193 of file instructions.h.


The documentation for this struct was generated from the following file: