Lines Matching +full:test +full:- +full:cpu
1 /* SPDX-License-Identifier: GPL-2.0 */
28 #define PHYS_ID_PATH "/sys/devices/system/cpu/cpu"
32 * CPU vendor IDs
48 * @cpu: CPU number to which the benchmark will be bound to
53 int cpu; member
59 * resctrl_test: resctrl test definition
60 * @name: Test name
61 * @group: Test group - a common name for tests that share some characteristic
62 * (e.g., L3 CAT test belongs to the CAT group). Can be NULL
63 * @resource: Resource to test (e.g., MB, L3, L2, etc.)
64 * @vendor_specific: Bitmask for vendor-specific tests (can be 0 for universal tests)
65 * @disabled: Test is disabled
67 * @run_test: Callback to run the test
68 * @cleanup: Callback to cleanup after the test
76 bool (*feature_check)(const struct resctrl_test *test);
77 int (*run_test)(const struct resctrl_test *test,
83 * resctrl_val_param: resctrl test parameters
87 * @init: Callback function to initialize test environment
88 * @setup: Callback function to setup per test run environment
89 * @measure: Callback that performs the measurement (a single test)
99 int (*setup)(const struct resctrl_test *test,
133 bool test_resource_feature_check(const struct resctrl_test *test);
140 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
152 int resctrl_val(const struct resctrl_test *test,
163 int signal_handler_register(const struct resctrl_test *test);
177 * cache_portion_size - Calculate the size of a cache portion