pub fn performance_counter(counter_type: u32) -> u64
Expand description

Get the value of specified performance counter.

Supported counter type:

0 : Instruction counter.
The number of WebAssembly instructions the system has determined that the canister has executed.