Skip to content

Commit

Permalink
[Doc] The unit of execution time should be ns
Browse files Browse the repository at this point in the history
  • Loading branch information
hydai committed Dec 10, 2020
1 parent 485518d commit eef48ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ vm.RunXXX("Func", args);
* Get the statistics of execution runtime.
* Return Value `Statistics` <Object>
* `Measure` -> <Boolean>: To show if the measurement is enabled or not.
* `TotalExecutionTime` -> <Integer>: Total execution time (Wasm exeuction time + Host function execution time) in `us` unit.
* `WasmExecutionTime` -> <Integer>: Wasm instructions execution time in `us` unit.
* `HostFunctionExecutionTime` -> <Integer>: Host functions (e.g. eei or wasi functions) execution time in `us` unit.
* `TotalExecutionTime` -> <Integer>: Total execution time (Wasm exeuction time + Host function execution time) in `ns` unit.
* `WasmExecutionTime` -> <Integer>: Wasm instructions execution time in `ns` unit.
* `HostFunctionExecutionTime` -> <Integer>: Host functions (e.g. eei or wasi functions) execution time in `ns` unit.
* `InstructionCount` -> <Integer>: The number of executed instructions in this execution.
* `TotalGasCost` -> <Integer>: The cost of this execution.
* `InstructionPerSecond` -> <Float>: The instructions per second of this execution.
Expand Down

0 comments on commit eef48ce

Please sign in to comment.