metrics list auto groups on the limit exceed error

Change-Id: I851d8fb6779fd39098ccbfb0a95ec1fd183ab89f
This commit is contained in:
Evgeny
2018-07-02 08:46:14 -05:00
parent 570cd62ad9
commit 4529d33db3
4 changed files with 267 additions and 9 deletions
+2 -3
View File
@@ -327,10 +327,9 @@ done
if [ -n "$csv_output" ] ; then
python $BIN_DIR/tblextr.py $csv_output $OUTPUT_LIST
if [ "$?" = 1 ] ; then
error "CSV generation error, profiling results '$RES_DIR'"
if [ "$?" -eq 0 ] ; then
echo "RPL: '$csv_output' is generated"
fi
echo "RPL: '$csv_output' is generated"
fi
if [ "$DATA_PATH" = "$TMP_DIR" ] ; then
+4 -2
View File
@@ -83,6 +83,7 @@ def parse_res(infile):
# print results table method
def print_tbl(outfile):
global var_list
if len(var_table) == 0: return 1
out = open(outfile, 'w')
@@ -107,6 +108,7 @@ def print_tbl(outfile):
out.write("\n")
out.close()
return 0
#############################################################
# main
@@ -116,6 +118,6 @@ outfile = sys.argv[1]
infiles = sys.argv[2:]
for f in infiles :
parse_res(f)
print_tbl(outfile)
sys.exit(0)
ret = print_tbl(outfile)
sys.exit(ret)
#############################################################