webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions | Variables
full_stack_tests_plot Namespace Reference

Classes

class  Data
 
class  PlotConfig
 
class  PlotLine
 

Functions

def field_arg_to_id (arg)
 
def average_over_cycle (values, length)
 
def load_files (filenames)
 
def get_parser ()
 
def plot_configs_from_args (args)
 
def show_or_save_plots (plot_configs)
 

Variables

int DROPPED = 0
 
int INPUT_TIME = 1
 
int SEND_TIME = 2
 
int RECV_TIME = 3
 
int RENDER_TIME = 4
 
int ENCODED_FRAME_SIZE = 5
 
int PSNR = 6
 
int SSIM = 7
 
int ENCODE_TIME = 8
 
int TOTAL_RAW_FIELDS = 9
 
int SENDER_TIME = TOTAL_RAW_FIELDS + 0
 
int RECEIVER_TIME = TOTAL_RAW_FIELDS + 1
 
int END_TO_END = TOTAL_RAW_FIELDS + 2
 
int RENDERED_DELTA = TOTAL_RAW_FIELDS + 3
 
int FIELD_MASK = 255
 
int HIDE_DROPPED = 256
 
int RIGHT_Y_AXIS = 512
 
dictionary name_to_id = {field[1]: field[0] for field in _fields}
 
dictionary id_to_title = {field[0]: field[2] for field in _fields}
 

Function Documentation

◆ average_over_cycle()

def full_stack_tests_plot.average_over_cycle (   values,
  length 
)
Returns the list:
  [
      avg(values[0], values[length], ...),
      avg(values[1], values[length + 1], ...),
      ...
      avg(values[length - 1], values[2 * length - 1], ...),
  ]

Skips None values when calculating the average value.

◆ field_arg_to_id()

def full_stack_tests_plot.field_arg_to_id (   arg)

◆ get_parser()

def full_stack_tests_plot.get_parser ( )

◆ load_files()

def full_stack_tests_plot.load_files (   filenames)

◆ plot_configs_from_args()

def full_stack_tests_plot.plot_configs_from_args (   args)
Generates plot configs for given command line arguments.

◆ show_or_save_plots()

def full_stack_tests_plot.show_or_save_plots (   plot_configs)

Variable Documentation

◆ DROPPED

int full_stack_tests_plot.DROPPED = 0

◆ ENCODE_TIME

int full_stack_tests_plot.ENCODE_TIME = 8

◆ ENCODED_FRAME_SIZE

int full_stack_tests_plot.ENCODED_FRAME_SIZE = 5

◆ END_TO_END

int full_stack_tests_plot.END_TO_END = TOTAL_RAW_FIELDS + 2

◆ FIELD_MASK

int full_stack_tests_plot.FIELD_MASK = 255

◆ HIDE_DROPPED

int full_stack_tests_plot.HIDE_DROPPED = 256

◆ id_to_title

dictionary full_stack_tests_plot.id_to_title = {field[0]: field[2] for field in _fields}

◆ INPUT_TIME

int full_stack_tests_plot.INPUT_TIME = 1

◆ name_to_id

dictionary full_stack_tests_plot.name_to_id = {field[1]: field[0] for field in _fields}

◆ PSNR

int full_stack_tests_plot.PSNR = 6

◆ RECEIVER_TIME

int full_stack_tests_plot.RECEIVER_TIME = TOTAL_RAW_FIELDS + 1

◆ RECV_TIME

int full_stack_tests_plot.RECV_TIME = 3

◆ RENDER_TIME

int full_stack_tests_plot.RENDER_TIME = 4

◆ RENDERED_DELTA

int full_stack_tests_plot.RENDERED_DELTA = TOTAL_RAW_FIELDS + 3

◆ RIGHT_Y_AXIS

int full_stack_tests_plot.RIGHT_Y_AXIS = 512

◆ SEND_TIME

int full_stack_tests_plot.SEND_TIME = 2

◆ SENDER_TIME

int full_stack_tests_plot.SENDER_TIME = TOTAL_RAW_FIELDS + 0

◆ SSIM

int full_stack_tests_plot.SSIM = 7

◆ TOTAL_RAW_FIELDS

int full_stack_tests_plot.TOTAL_RAW_FIELDS = 9