| Branch: | Revision:

iof-tools / logHandlers / parser @ 67493fe0

Name Size Revision Age Author Comment 1.46 KB 67493fe0 over 1 year tiamilani README added 16 KB 9a18ba0c over 1 year tiamilani bug fixes

Latest revisions

# Date Author Comment
67493fe0 01/13/2020 03:35 PM tiamilani

README added

85d6694b 01/12/2020 03:48 PM tiamilani

Merge branch 'master' into reorganizedVersion

9a18ba0c 01/11/2020 02:12 PM tiamilani

bug fixes

View revisions


Log parser

You can use this log parser to produce from the experiment folder fetched a file that can be interpreted by the gnuplot plotter and with the sum-up of all the information.

Read single experiment

You can use this script to get the information about just one experiment. For example if the logs files of the experiments are in the folder: iof-tools/Experiemnt1/logs/* You can use the following command to read them:

python3 -f ../../RESULTS/run1/logs/* > logs.txt

The option -f describe where the logs files are contained

Read the average of multiple experiemnts

Sometimes you have done more runs of the same experiment and you would like to plot the average of all this runs, you can create the average file descriptor with the log_parser. The constraint is that you pass a folder to the parser, it expect to find in this folder a list of folders that represent all the experiments, and inside of each of them there are only the logs files.

If we have a folder with different runs at the following path: iof-tools/fabr10runs/* you can use the following command:

python -ff ../../fabr10runs/ > average10runs.txt

Other arguments

There are some more arguments to have more information inside your plot: * -c Compute convergence delay * -t Compute the number of updates generated * -T ['SECS', 'DSEC', 'CSEC', 'MSEC'], time resolution (s/decimal/cent/milli) * -d [delta_value], use this value to set a negative delta value

Also available in: Atom