Skip to content

Commit

Permalink
Adds missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder committed Aug 16, 2024
1 parent 4d354cd commit ee31f67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions varats/varats/experiments/vara/hot_function_experiment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Experiment that detects the hot functions of a project."""
import typing as tp
from pathlib import Path

Expand Down Expand Up @@ -75,6 +76,8 @@ def __str__(self, indent: int = 0) -> str:
)

def run_instrumented_code(self) -> actions.StepResult:
"""Run the instrumented code to detect hot functions."""
# pylint: disable=import-outside-toplevel
from plumbum.cmd import llvm_xray

for binary in self.project.binaries:
Expand Down
2 changes: 2 additions & 0 deletions varats/varats/tables/hot_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@


class HotFunctionsTable(Table, table_name="hot_functions"):
"""A concice table that provides a quick overview of all the detected hot
functions."""

def tabulate(self, table_format: TableFormat, wrap_table: bool) -> str:
case_studies = get_loaded_paper_config().get_all_case_studies()
Expand Down

0 comments on commit ee31f67

Please sign in to comment.