/system/extras/tests/workloads/ |
pwrsummary.sh | 71 function average { function 175 set -- $(grep "FPS average" $file | sed 's/^.*seconds for a //' | awk '{ print $1; }' | average) 179 set -- $(grep ^Frames: $file | tr "/" " " | awk '{ print $4; }' | average | awk '{ printf "%.3f %.3f %.3f\n", 1000/$3, 1000/$2, 1000/$1;}' ) 183 set -- $(cat $file | sysappOutputParser | average | awk '{ printf "%.3f %.3f %.3f\n", 1000/$3, 1000/$2, 1000/$1;}' ) 187 set -- $(cat $file | hwuiOutputParser | tr ',' ' ' | awk '{print $2;}' | average)
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
CompareUtils.java | 17 * @param threshold Per channel differences for R / G / B channel against the average of these 3 22 int average = Color.red(color) + Color.green(color) + Color.blue(color); local 23 average /= 3; 24 return Math.abs(Color.red(color) - average) <= threshold 25 && Math.abs(Color.green(color) - average) <= threshold 26 && Math.abs(Color.blue(color) - average) <= threshold;
|
/external/tensorflow/tensorflow/python/training/ |
moving_averages.py | 34 """Compute the moving average of a variable. 36 The moving average of 'variable' updated with 'value' is: 39 The returned Operation sets 'variable' to the newly computed moving average. 69 decay: A float Tensor or float value. The moving average decay. 77 moving average. 98 """Compute the weighted moving average of `value`. 100 Conceptually, the weighted moving average is: 102 where a moving average updates by the rule 104 Internally, this Op keeps moving average variables of both `value * weight` 109 decay: A float `Tensor` or float value. The moving average decay 425 def average(self, var): member in class:ExponentialMovingAverage [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
fuzzy.py | 24 """Define possible score aggregators: average() and product(). 30 def average(data): function 31 """The average of the elements in data."""
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics.h | 33 average(0.0), 39 double average; member in struct:webrtc::test::QualityMetricsResult
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
StatTest.java | 55 double average = Stat.getAverage(values); local 56 assertEquals(2.0, average, 0.00001); 59 average = Stat.getAverage(values); 60 assertEquals(3.0, average, 0.00001); 63 average = Stat.getAverage(values); 64 assertEquals(6.0, average, 0.00001);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/ |
rpc_clntraw_create_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 135 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/ |
rpc_svcraw_create_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 134 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/ |
rpc_svctcp_create_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 137 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ |
rpc_svcudp_create_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 137 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/ |
rpc_callrpc_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 143 printf("%lf %d\n", average(resultTbl), maxIter);
|
rpc_callrpc_scalability.c | 40 double average(double *tbl) function 42 //Return average of values in tbl
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core.h | 44 float average; member in struct:Stats
|
/external/fio/tools/plot/ |
fio2gnuplot | 84 # Let's plot the average value for all the traces 86 global_avg = average(global_disk_perf) 87 compare_raw.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg)); 88 compare_smooth.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg)); 89 compare_trend.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg)); 107 avg = average(disk_perf[pos]) 119 def generate_gnuplot_math_script(title,gnuplot_output_filename,mode,average,gnuplot_output_dir,gpm_dir): 123 f.write("call \'%s/math.gpm\' \'%s' \'%s\' \'\' \'%s\' \'%s\' %s\n" % (gpm_dir,title,gnuplot_output_filename,gnuplot_output_filename,mode,average)) 149 def average(s): return sum(s) * 1.0 / len(s) function 231 average_file=open(gnuplot_output_dir+gnuplot_output_filename+'.average', 'w' [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
intrapred4_dspr2.c | 44 int32_t average; local 56 "addu.ph %[average], %[above_r], %[above_l] \n\t" 57 "addu.ph %[average], %[average], %[left_l] \n\t" 58 "addu.ph %[average], %[average], %[left_r] \n\t" 59 "addiu %[average], %[average], 4 \n\t" 60 "srl %[tmp], %[average], 16 \n\t" 61 "addu.ph %[average], %[tmp], %[average] \n\t [all...] |
/external/lisa/tools/scripts/power/ |
cpu_frequency_power_average.py | 34 def average(values): function 87 # Compute the active cost as an average of computed active costs by cluster 88 self.active_cost = average([self.clusters[cluster].compute_active_cost() for cluster in self.clusters]) 143 # The initial core cost is the average of the additional power to add 145 self.core_costs[freq] = average(core_costs) 158 # Recompute the core cost as the sample average minus the cluster and 166 # The final core cost is the average of the core costs at freq 167 self.core_costs[freq] = average(core_costs) 191 # Return the average calculated cluster cost 192 self.cluster_cost = average(cluster_costs [all...] |
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/ |
rpc_pmap_rmtcall_performance.c | 45 double average(double *tbl) function 47 //Return average of values in tbl 162 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/ |
rpc_clnt_broadcast_performance.c | 42 double average(double *tbl) function 44 //Return average of values in tbl 146 printf("%lf %d\n", average(resultTbl), maxIter);
|
rpc_clnt_broadcast_scalability.c | 42 double average(double *tbl) function 44 //Return average of values in tbl
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
rpc_clnttcp_create_performance.c | 42 double average(double *tbl) function 44 //Return average of values in tbl 154 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/ |
rpc_clntudp_create_performance.c | 41 double average(double *tbl) function 43 //Return average of values in tbl 154 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
rpc_clnt_call_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 154 printf("%lf %d\n", average(resultTbl), maxIter);
|
rpc_clnt_call_scalability.c | 40 double average(double *tbl) function 42 //Return average of values in tbl
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
tirpc_bottomlevel_clnt_call_performance.c | 43 double average(double *tbl) function 45 //Return average of values in tbl 184 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/ |
tirpc_expertlevel_clnt_call_performance.c | 43 double average(double *tbl) function 45 //Return average of values in tbl 184 printf("%lf %d\n", average(resultTbl), maxIter);
|