[PATCH PM-QA v2] Fixed array initializations to calculate freq deviation.

2016-05-31 Thread Saul Romero
Changes in cpufreq_06.sh to calculate summatory and average of frequency measurements. In the function 'compute_freq_ratio' the frequency is stored in an array of variables by indirect reference (http://www.tldp.org/LDP/abs/html/ivr.html) but the variable 'index' that points to next element in the

[PATCH PM-QA v3] Fixed array initializations to calculate freq deviation.

2016-05-31 Thread Saul Romero
Changes in cpufreq_06.sh to calculate summatory and average of frequency measurements. Bug: The tests for frequency deviation always fails with 'Err' Cause and solution: In the function 'compute_freq_ratio' the frequency is stored in an array of variables by indirect reference (http://www.tldp.org