/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/fio/tools/plot/samples/ |
Makefile | 17 rm -rf *.average *.stddev *.min *.max *.global
|
/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);
|
/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);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/ |
tirpc_rpc_broadcast_performance.c | 46 double average(double *tbl) function 48 //Return average of values in tbl 148 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/ |
tirpc_rpc_broadcast_exp_performance.c | 46 double average(double *tbl) function 48 //Return average of values in tbl 149 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/ |
tirpc_rpc_call_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 148 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/ |
tirpc_toplevel_clnt_call_performance.c | 40 double average(double *tbl) function 42 //Return average of values in tbl 153 printf("%lf %d\n", average(resultTbl), maxIter);
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
firmware_summary_unittest.py | 61 average = result.stat_scores.average 62 return round(average, self._round_digits)
|
/external/autotest/tko/ |
plotgraph.py | 16 average = float(sum(values)) / len(values) 17 sum_sq_dev = sum( [(x - average) ** 2 for x in values] ) 19 return (average, std_dev);
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/ |
__init__.py | 100 # Average loss over all ranks, for printing. 110 print("Average Loss:", l) 136 def allreduce(tensor, average=True): 142 average: If True, computes the average over all ranks. 156 # To make this operation into an average, divide all gathered values by 158 new_values = tf.div(values, mpi_size) if average else values 165 if average else summed_tensor) 171 average gradient values before applying gradients to model weights."""
|
/external/webrtc/webrtc/tools/rtcbot/rtcBotReportVisualizer/ |
main.js | 75 var avergaData = ['Average Rtt x10']; 78 var average; 81 average = getStateAverage(reports[index], botName, "Conn-audio-1-0", 83 avergaData.push(average*10); 116 var avergaData = ['Average ' + statName]; 119 var average; 122 average = getStateAverage(reports[index], botName, reportId, statName); 123 avergaData.push(average);
|
/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/utils/ffsb-6.0-rc2/ |
util.c | 317 uint64_t average = 0; local 326 average = total_usec / 1000ull; 327 printf("average time for gettimeofday(): %llu nsec\n", average); 334 uint64_t average = 0; local 343 average = total_usec / 1000ull; 344 printf("average time for getpid(): %llu nsec\n", average);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 187 int average = totalSize / count; local 189 " bytes/item; average " + average + "\n");
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 186 int average = totalSize / count; local 188 " bytes/item; average " + average + "\n");
|
/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_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);
|
/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);
|