package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4

doc/rocq-runtime.lib/Instr/index.html

Module InstrSource

Platform-specific Implementation of a global instruction counter.

Sourceval read_counter : unit -> (Int64.t, string) Result.t

read_counter () returns the current value of the instruction counter, or an error message indicating why it could not be obtained. Note that counts returned by this function are not meaningful in absolute terms. To measure how many instructions it takes to run a piece of code, read the counter at the start and at the end, and compute the difference.