Rename firstIntMainCountValue to main_count_first_irq_value

Updating local variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" -o -name "*.arch" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: I43b2a20b0f250e60b7b295710a7eac4cf4cc3d03
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:12:51 -05:00 committed by Anas Nashif
commit 410f46d7e2

View file

@ -205,7 +205,7 @@ SYS_INT_REGISTER(_hpetIntStub, HPET_TIMER0_IRQ, HPET_TIMER0_INT_PRI);
#endif /* CONFIG_DYNAMIC_INT_STUBS */
#ifdef CONFIG_INT_LATENCY_BENCHMARK
static uint32_t firstIntMainCountValue = 0;
static uint32_t main_count_first_irq_value = 0;
static uint32_t expectedMainCountValue = 0;
#endif
@ -286,7 +286,7 @@ void _timer_int_handler(void *unused)
_hw_irq_to_c_handler_latency = delta;
}
/* compute the next expected main counter value */
expectedMainCountValue += firstIntMainCountValue;
expectedMainCountValue += main_count_first_irq_value;
#endif
#ifdef CONFIG_MICROKERNEL
@ -581,8 +581,8 @@ void timer_driver(int priority /* priority parameter is ignored by this driver
*_HPET_TIMER0_COMPARATOR = counterLoadValue;
#ifdef CONFIG_INT_LATENCY_BENCHMARK
firstIntMainCountValue = counterLoadValue;
expectedMainCountValue = firstIntMainCountValue;
main_count_first_irq_value = counterLoadValue;
expectedMainCountValue = main_count_first_irq_value;
#endif
#ifndef TIMER_SUPPORTS_TICKLESS