Classes | Functions | Variables
plot Namespace Reference

Classes

class  Data
 
class  Variance
 

Functions

argparse.ArgumentParser argument_parser ()
 
str class_name (str s)
 
tuple[float, float] compute_data_lower_upper (Data data)
 
list[tuple[str, TimeNS]] flatten_data (Data data)
 
Path is_file (str file)
 
def main (list[str] args)
 
TimeNS make_time_ns (dict bench)
 
list[Dataparse_json_output (dict json_content)
 
def plot (list[Data] datas)
 
def plot_batch (list[Data] datas)
 

Variables

 TimeNS = typing.NewType("TimeNS", int)
 

Function Documentation

◆ argument_parser()

argparse.ArgumentParser plot.argument_parser ( )

Definition at line 187 of file plot.py.

◆ class_name()

str plot.class_name ( str  s)
Convert data name into a nice label

Definition at line 95 of file plot.py.

◆ compute_data_lower_upper()

tuple[float, float] plot.compute_data_lower_upper ( Data  data)
Compute data lower and upper bounds to display Whisker box

Definition at line 100 of file plot.py.

◆ flatten_data()

list[tuple[str, TimeNS]] plot.flatten_data ( Data  data)
Return a list with data name and time

Definition at line 109 of file plot.py.

◆ is_file()

Path plot.is_file ( str  file)

Definition at line 180 of file plot.py.

◆ main()

def plot.main ( list[str args)

Definition at line 193 of file plot.py.

◆ make_time_ns()

TimeNS plot.make_time_ns ( dict  bench)
Convert JSON output time into TimeNS

Definition at line 56 of file plot.py.

◆ parse_json_output()

list[Data] plot.parse_json_output ( dict  json_content)
Parse google benchmark JSON output

Definition at line 69 of file plot.py.

◆ plot()

def plot.plot ( list[Data datas)

Definition at line 167 of file plot.py.

◆ plot_batch()

def plot.plot_batch ( list[Data datas)

Definition at line 114 of file plot.py.

Variable Documentation

◆ TimeNS

plot.TimeNS = typing.NewType("TimeNS", int)

Definition at line 16 of file plot.py.



pinocchio
Author(s):
autogenerated on Tue Apr 22 2025 02:41:25