From 195011a04b27a42710b8bc68bf0d5b6578eca6c1 Mon Sep 17 00:00:00 2001 From: genaud Date: Fri, 22 Oct 2010 11:44:56 +0000 Subject: [PATCH] comment git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8445 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- contrib/network_model/calibrate_piecewise.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/network_model/calibrate_piecewise.py b/contrib/network_model/calibrate_piecewise.py index 6d05b83e4d..b8ce3b0621 100755 --- a/contrib/network_model/calibrate_piecewise.py +++ b/contrib/network_model/calibrate_piecewise.py @@ -1,5 +1,6 @@ #!/usr/bin/env python + import sys from math import sqrt @@ -81,6 +82,11 @@ for line in skampidat: timings.append(float(l[3]) / links) sizes.append(int(l[1])) +## adds message sizes of interest: if values are specified starting from the 6th command line arg +## and these values are found as message sizes in te log file, add it to the limits list. +## Each of these value si considered a potential inflexion point between two segments. +## +## If no value specified, a single segment is considered from 1st to last message size logged. limits = [] if len(sys.argv) > 5: for i in xrange(5, len(sys.argv)): -- 2.20.1