cvpy.base.CASThreadTunerResults.CASThreadTunerResults

class cvpy.base.CASThreadTunerResults.CASThreadTunerResults(cas_server_mode: CASServerMode | None = None, controller_thread_range: range | None = None, worker_thread_range: range | None = None, objective_measure: Statistic | None = None, controller_optimal_thread_count: int | None = None, worker_optimal_thread_count: int | None = None, mean_exec_times: List[List[int]] | None = None, median_exec_times: List[List[int]] | None = None, minimum_exec_times: List[List[int]] | None = None, maximum_exec_times: List[List[int]] | None = None, stdev_exec_times: List[List[int]] | None = None)

Store and present results for the CAS thread optimization tool.

Parameters:
cas_server_mode:

Specifies the CAS server architecture.

controller_thread_range:

Specifies the range of threads on the controller node.

worker_thread_range:

Specifies the range of threads on each worker node.

objective_measure:

Specifies the objective measure of performance over given iterations.

controller_optimal_thread_count:

Specifies the optimal thread count on the controller node.

worker_optimal_thread_count:

Specifies the optimal thread count on the worker node.

mean_exec_times:

Specifies the mean of recorded execution times over the specified iterations.

median_exec_times:

Specifies the median of recorded execution times over specified iterations.

minimum_exec_times:

Specifies the minimum of recorded execution times over specified iterations.

maximum_exec_times:

Specifies the maximum of recorded execution times over specified iterations.

stdev_exec_times:

Specifies the standard deviation of recorded execution times over specified iterations.

__init__(cas_server_mode: CASServerMode | None = None, controller_thread_range: range | None = None, worker_thread_range: range | None = None, objective_measure: Statistic | None = None, controller_optimal_thread_count: int | None = None, worker_optimal_thread_count: int | None = None, mean_exec_times: List[List[int]] | None = None, median_exec_times: List[List[int]] | None = None, minimum_exec_times: List[List[int]] | None = None, maximum_exec_times: List[List[int]] | None = None, stdev_exec_times: List[List[int]] | None = None)

Constructs the CASThreadTunerResults class

Methods

__init__([cas_server_mode, ...])

Constructs the CASThreadTunerResults class

plot_exec_times([fig_width, fig_height])

Plot performance for given CAS thread tuner results.

Attributes

cas_server_mode

controller_optimal_thread_count

controller_thread_range

maximum_exec_times

mean_exec_times

median_exec_times

minimum_exec_times

objective_measure

stdev_exec_times

worker_optimal_thread_count

worker_thread_range