Renaming _WlLoop to _workload_loop
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: I26965c7640b6caeb73ac11b4f6d5fa793a0be65b Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
8a0db0aa11
commit
490c702343
1 changed files with 4 additions and 4 deletions
|
@ -68,7 +68,7 @@ extern uint32_t _k_workload_scale;
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* _WlLoop - shared code between workload calibration and monitoring
|
||||
* _workload_loop - shared code between workload calibration and monitoring
|
||||
*
|
||||
* Perform idle task "dummy work".
|
||||
*
|
||||
|
@ -79,7 +79,7 @@ extern uint32_t _k_workload_scale;
|
|||
*
|
||||
*/
|
||||
|
||||
static void _WlLoop(void)
|
||||
static void _workload_loop(void)
|
||||
{
|
||||
volatile int x = 87654321;
|
||||
volatile int y = 4;
|
||||
|
@ -117,7 +117,7 @@ void wlMonitorCalibrate(void)
|
|||
_k_workload_n1 = 1000;
|
||||
|
||||
_k_workload_t0 = timer_read();
|
||||
_WlLoop();
|
||||
_workload_loop();
|
||||
_k_workload_t1 = timer_read();
|
||||
|
||||
_k_workload_delta = _k_workload_t1 - _k_workload_t0;
|
||||
|
@ -302,7 +302,7 @@ int kernel_idle(void)
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_WORKLOAD_MONITOR
|
||||
_WlLoop();
|
||||
_workload_loop();
|
||||
#endif
|
||||
|
||||
for (;;) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue