# SPDX-License-Identifier: GPL-2.0-only

config PHASE
	bool "PMU-aware Scheduler(PHASE)"
	default n
	help
	  Intruduce PMU-based process behavior statistics.
	  Collect PMU information of process and offer guidance for scheduler.

if PHASE

config PHASE_PERF
	bool "Collect PHASE information based on perf"
	depends on PERF_EVENTS
	default n
	help
	  Use PERF to view CPU PMU event statistics and collect PHASE information.

config PHASE_COUNTER_WINDOW
	bool "Phase Counter Window"
	depends on PHASE_PERF
	default n
	help
	  statistic PHASE information as windows.

config PHASE_FORWARD
	bool "Phase Forward Mode"
	depends on SCHED_CORE
	default n
	help
	  Phase Forward Mode.

config PHASE_REVERSE
	bool "Phase Reverse Mode"
	depends on SCHED_CORE
	default n
	help
	  Phase Reserve Mode.

config PHASE_TASK_PERF
	bool "Task PMU event for align"
	depends on PERF_EVENTS
	default n
	help
	  Generate pmu irq when an event counter reach the threshold.

config PHASE_PERF_AMU
	bool "Use AMU as phase perf's input data"
	depends on PHASE_PERF
	default n
	help
	  Use AMU as phase perf's input data.

endif # PHASE
