subsys/debug: eliminate PEFORMANCE_METRICS and CPU_CLOCK_FREQ_MHZ
Neither of these options is actually used; CPU_CLOCK_FREQ_MHZ appears to have been part of x86 BOOT_TIME_MEASUREMENT at some point, and PERFORMANCE_METRICS is the stillborn cousin of EXECUTION_BENCHMARKS. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
78edc96a25
commit
efcecea6aa
2 changed files with 3 additions and 19 deletions
|
@ -8,28 +8,13 @@
|
|||
|
||||
menu "System Monitoring Options"
|
||||
|
||||
config PERFORMANCE_METRICS
|
||||
bool "Enable performance metrics [EXPERIMENTAL]"
|
||||
help
|
||||
Enable Performance Metrics.
|
||||
|
||||
config BOOT_TIME_MEASUREMENT
|
||||
bool "Boot time measurements [EXPERIMENTAL]"
|
||||
depends on PERFORMANCE_METRICS
|
||||
help
|
||||
This option enables the recording of timestamps during system start
|
||||
up. The global variable __start_time_stamp records the time kernel begins
|
||||
executing, while __main_time_stamp records when main() begins executing,
|
||||
and __idle_time_stamp records when the CPU becomes idle. All values are
|
||||
recorded in terms of CPU clock cycles since system reset.
|
||||
|
||||
config CPU_CLOCK_FREQ_MHZ
|
||||
int "CPU Clock Frequency in MHz"
|
||||
default 20
|
||||
depends on BOOT_TIME_MEASUREMENT
|
||||
help
|
||||
This option specifies the CPU Clock Frequency in MHz in order to
|
||||
convert Intel RDTSC timestamp to microseconds.
|
||||
up. The global variable __start_time_stamp records the time kernel
|
||||
begins executing, while __main_time_stamp records when main() begins
|
||||
executing, and __idle_time_stamp records when the CPU becomes idle.
|
||||
|
||||
config STATS
|
||||
bool "Statistics support"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
CONFIG_TEST=y
|
||||
CONFIG_PERFORMANCE_METRICS=y
|
||||
CONFIG_BOOT_TIME_MEASUREMENT=y
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_FORCE_NO_ASSERT=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue