gamebench_api_client.models.dataframes.time_series package

Submodules

gamebench_api_client.models.dataframes.time_series.abstract_time_series module

class gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel(**request_parameters)[source]

Bases: gamebench_api_client.models.abstract_model.AbstractModel, abc.ABC

Concrete class for models needing to access the Time Series Mediator.

Each model is kept as it’s own class so new methods can be added individually as needed.

__init__(**request_parameters)[source]

Sets up the mediator and data attributes.

The mediator is set to the mediator that it will be contacting. The data is set to the DataFrame returned from the get_results method.

get_data()[source]

Returns a Pandas DataFrame containing metric data from a response json.

Returns:Pandas DataFrame containing metric data.

gamebench_api_client.models.dataframes.time_series.time_series_models module

All modules that use the TimeSeriesMediator.

The classes inherit from the AbstractTimeSeriesModel. Each model is kept as its own class so new behavior can be added individually as needed.

class gamebench_api_client.models.dataframes.time_series.time_series_models.Battery(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Battery information for a session.

METRIC_PATH = '/battery'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Cpu(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the CPU usage information for a session.

METRIC_PATH = '/cpu'
class gamebench_api_client.models.dataframes.time_series.time_series_models.CpuCoreFrequency(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the CPU Core Frequency information for a session.

METRIC_PATH = '/corefreq'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Energy(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Energy information for a session.

METRIC_PATH = '/energy'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Fps(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the FPS information for a session.

METRIC_PATH = '/fps'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Gpu(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the non-Imagination GPU information for a session.

METRIC_PATH = '/gpu/other'
class gamebench_api_client.models.dataframes.time_series.time_series_models.GpuImg(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Imagination GPU information for a session.

METRIC_PATH = '/gpu/img'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Janks(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Janks information for a session.

METRIC_PATH = '/janks'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Memory(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Memory information for a session.

METRIC_PATH = '/memory'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Network(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Network information for a session.

METRIC_PATH = '/network'
class gamebench_api_client.models.dataframes.time_series.time_series_models.Power(**request_parameters)[source]

Bases: gamebench_api_client.models.dataframes.time_series.abstract_time_series.AbstractTimeSeriesModel

Object to set the Power information for a session.

METRIC_PATH = '/power'

Module contents