parameters: (self, irname, callname)
docstring: Echo some comments and invoke both versions of toy
docstring_summary: Echo some comments and invoke both versions of toy
docstring_tokens: Echo some comments and invoke both versions of toy
function: def writeTimingCall(self, irname, callname):
          """Echo some comments and invoke both versions of toy"""
          rootname = irname
          if '.' in irname:
              rootname = irname[:irname.rfind('.')]
          self.shfile.write("echo \"%s: Calls %s\" >> %s\n" % (callname, irname, self.timeFile))
          self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
          self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile)
          self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"")
          self.shfile.write(" -o %s -a " % self.timeFile)
          self.shfile.write("./toy-mcjit -use-object-cache -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % (irname, callname, rootname, rootname))
          self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
          self.shfile.write("echo \"With MCJIT again\" >> %s\n" % self.timeFile)
          self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"")
          self.shfile.write(" -o %s -a " % self.timeFile)
          self.shfile.write("./toy-mcjit -use-object-cache -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % (irname, callname, rootname, rootname))
          self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
          self.shfile.write("echo \"With JIT\" >> %s\n" % self.timeFile)
          self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"")
          self.shfile.write(" -o %s -a " % self.timeFile)
          self.shfile.write("./toy-jit -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % (irname, callname, rootname, rootname))
          self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
          self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
function_tokens: def writeTimingCall ( self , irname , callname ) : rootname = irname if '.' in irname : rootname = irname [ : irname . rfind ( '.' ) ] self . shfile . write ( "echo \"%s: Calls %s\" >> %s\n" % ( callname , irname , self . timeFile ) ) self . shfile . write ( "echo \"\" >> %s\n" % self . timeFile ) self . shfile . write ( "echo \"With MCJIT\" >> %s\n" % self . timeFile ) self . shfile . write ( "/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"" ) self . shfile . write ( " -o %s -a " % self . timeFile ) self . shfile . write ( "./toy-mcjit -use-object-cache -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % ( irname , callname , rootname , rootname ) ) self . shfile . write ( "echo \"\" >> %s\n" % self . timeFile ) self . shfile . write ( "echo \"With MCJIT again\" >> %s\n" % self . timeFile ) self . shfile . write ( "/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"" ) self . shfile . write ( " -o %s -a " % self . timeFile ) self . shfile . write ( "./toy-mcjit -use-object-cache -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % ( irname , callname , rootname , rootname ) ) self . shfile . write ( "echo \"\" >> %s\n" % self . timeFile ) self . shfile . write ( "echo \"With JIT\" >> %s\n" % self . timeFile ) self . shfile . write ( "/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tmax set: %M kb\"" ) self . shfile . write ( " -o %s -a " % self . timeFile ) self . shfile . write ( "./toy-jit -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\n" % ( irname , callname , rootname , rootname ) ) self . shfile . write ( "echo \"\" >> %s\n" % self . timeFile ) self . shfile . write ( "echo \"\" >> %s\n" % self . timeFile )