Rename wlMonitorCalibrate to workload_monitor_calibrate
Updating micro kernel functions to follow a consistent naming convention. Part of that process is the removal of camelCase naming conventions for the preferred_underscore_method. Change accomplished with the following script: echo "Searching for ${1} to replace with ${2}" echo "Checking C, CPP, H, HPP, and s files..." find . -type f \( -iname \*.[ch] -o -iname \*.[ch]pp -o -iname \*.s \) \ -not \( -path host/src/genIdt -prune \) \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" echo "Checking KCONF, LST, and PY files..." find . -type f \( -iname \*.lst -o -iname \*.kconf -o -iname \*.py \) \ -not \( -path host/src/genIdt -prune \) \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" Change-Id: Ifca97426eeb9347374af392508f3a5526c3410b5 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
490c702343
commit
43779366ad
3 changed files with 4 additions and 4 deletions
|
@ -100,6 +100,6 @@ void kernel_init(void)
|
||||||
init_drivers();
|
init_drivers();
|
||||||
|
|
||||||
#ifdef CONFIG_WORKLOAD_MONITOR
|
#ifdef CONFIG_WORKLOAD_MONITOR
|
||||||
wlMonitorCalibrate();
|
workload_monitor_calibrate();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@ static void _workload_loop(void)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* wlMonitorCalibrate - calibrate the workload monitoring subsystem
|
* workload_monitor_calibrate - calibrate the workload monitoring subsystem
|
||||||
*
|
*
|
||||||
* Measures the time required to do a fixed amount of "dummy work", and
|
* Measures the time required to do a fixed amount of "dummy work", and
|
||||||
* sets default values for the workload measuring period.
|
* sets default values for the workload measuring period.
|
||||||
|
@ -111,7 +111,7 @@ static void _workload_loop(void)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void wlMonitorCalibrate(void)
|
void workload_monitor_calibrate(void)
|
||||||
{
|
{
|
||||||
_k_workload_n0 = _k_workload_i = 0;
|
_k_workload_n0 = _k_workload_i = 0;
|
||||||
_k_workload_n1 = 1000;
|
_k_workload_n1 = 1000;
|
||||||
|
|
|
@ -186,7 +186,7 @@ extern const int _k_monitor_mask;
|
||||||
|
|
||||||
#ifdef CONFIG_WORKLOAD_MONITOR
|
#ifdef CONFIG_WORKLOAD_MONITOR
|
||||||
|
|
||||||
extern void wlMonitorCalibrate(void);
|
extern void workload_monitor_calibrate(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue