Module cairo_lang_runner::profiling

source ·

Structs§

  • Weights per libfunc.
  • Full profiling info of a single run. This is the processed info which went through additional processing after collecting the raw data during the run itself.
  • Profiling into of a single run. This is the raw info - went through minimum processing, as this is done during the run. To enrich it before viewing/printing, use the ProfilingInfoProcessor.
  • A processor for profiling info. Used to process the raw profiling info (basic info collected during the run) into a more detailed profiling info that can also be formatted.
  • Parameters controlling what profiling info is processed and how, by the ProfilingInfoProcessor.
  • Weights per stack trace.
  • Weights per user function.

Functions§

  • Converts a sierra statement index to the index of the function that contains it (the index in the list in the sierra program). Assumes that the given statement_idx is valid (that is within range of the given sierra_program) and that the given sierra_program is valid, specifically that the first function’s entry point is 0.