plumed_bench_pp.utils¶
Functions
|
Retrieves the set of input files from the given benchmark data. |
|
Returns a set of unique kernel names extracted from the benchmark data. |
Retrieves a list of tuples containing the kernel and input file names from the given benchmark data. |
|
|
- plumed_bench_pp.utils.get_inputfiles(data: BenchmarkRun | list[BenchmarkRun]) set[str]¶
Retrieves the set of input files from the given benchmark data.
- Parameters:
data (BenchmarkRun | list[BenchmarkRun]) – The data to extract input files from. It can be a single
BenchmarkRunobject or a list ofBenchmarkRunobjects.- Returns:
A set of unique input file names extracted from the given data.
- Return type:
- plumed_bench_pp.utils.get_kernels(data: BenchmarkRun | list[BenchmarkRun]) set[str]¶
Returns a set of unique kernel names extracted from the benchmark data.
- Parameters:
data (BenchmarkRun | list[BenchmarkRun]) – The data to extract kernel names from. It can be a single
BenchmarkRunobject or a list ofBenchmarkRunobjects.- Returns:
A set of unique kernel names extracted from the given data.
- Return type:
- plumed_bench_pp.utils.get_kernels_and_inputfiles(data: BenchmarkRun | list[BenchmarkRun]) list[tuple[str, str]]¶
Retrieves a list of tuples containing the kernel and input file names from the given benchmark data.
- Parameters:
data (BenchmarkRun | list[BenchmarkRun]) – The data to extract kernel and input file names from. It can be a single
BenchmarkRunobject or a list ofBenchmarkRunobjects.- Returns:
A list of tuples, where each tuple contains the kernel and input file names extracted from the given data.
- Return type: