Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:mquinson/simgrid
[simgrid.git] / contrib / network_model / calibrate_piecewise.py
index 5e79ff4..8a54e84 100755 (executable)
@@ -1,5 +1,10 @@
 #!/usr/bin/env python
 
+# Copyright (c) 2010-2011, 2014. The SimGrid Team.
+# All rights reserved.
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the license (GNU LGPL) which comes with this package.
 
 import sys
 from math import sqrt
@@ -206,4 +211,6 @@ while joinseg:
        factor_join_lat = b / (latency*links)
        c_code_print(x0,x1,factor_join_lat,False,False)
 
+print("}\n")  
+
 print("\n/**\n *------------------ <copy/paste C code snippet in surf/network.c> ----------------------\n **/")