Create a function for converting output to CSV for sysbench and ycsb
Function should be placed in modules/compute_set/lib/default.sh
. It only needs to output all the contents of a file to CSV. No aggregation is needed. Final results can be uploaded into a different file.
Possible conventions:
# Prefered:
function convertToCSV {
tool=$(getTag Tool)
# $1: file to process
if [ $tool == "sysbench"] ;then
...
elif [ $tool == "ycsb" ]
}
The output should be placed in a local folder with all the results.