The Gaudi Framework  master (3c045658)
Loading...
Searching...
No Matches
gaudirun.py File Reference

Go to the source code of this file.

Classes

class  gaudirun.ArgProcessor
class  gaudirun.FakeModule

Namespaces

namespace  gaudirun

Functions

 gaudirun.getArgsWithoutProfilerInfo (args)
 gaudirun.setLibraryPreload (newpreload)
 gaudirun.rationalizepath (path)
 gaudirun.getArgsFromQmt (qmtfile)
 gaudirun.option_cb (option, opt, value, parser)

Variables

list gaudirun._qmt_tmp_opt_files = []
 gaudirun.parser = OptionParser(usage="%prog [options] <opts_file|function_id> ...")
 gaudirun.action
 gaudirun.help
 gaudirun.type
 gaudirun.metavar
 gaudirun.default
 gaudirun.callback
 gaudirun.nargs
 gaudirun.dest
 gaudirun.options = ["process({!r})".format(arg) for arg in args]
 gaudirun.tcmalloc
 gaudirun.profilerName = opts.profilerName
 gaudirun.profilerOutput = opts.profilerOutput or (profilerName + ".output")
 gaudirun.profilerExtraOptions = opts.profilerExtraOptions
 gaudirun.preload = os.environ.get("LD_PRELOAD", "")
 gaudirun.ncpus
 gaudirun.old_conf_user_apply
 gaudirun.run_info_file
 gaudirun.application
list gaudirun.argv = []
 gaudirun.opts
 gaudirun.args = [a for a in sys.argv if a != "-T" and not "--tcmalloc".startswith(a)]
 gaudirun.sys_cpus = cpu_count()
str gaudirun.s = "Invalid value : --ncpus : only %i cpus available" % sys_cpus
str gaudirun.prefix = "// "
 gaudirun.level = logging.INFO
 gaudirun.with_time
 gaudirun.root_logger = logging.getLogger()
 gaudirun.sanitizers = os.environ.get("PRELOAD_SANITIZER_LIB", "")
list gaudirun.to_load = [libname for libname in opts.preload if libname not in set(preload)]
str gaudirun.profilerExecName = ""
str gaudirun.igprofPerfOptions = "-d -pp -z -o igprof.pp.gz".split()
str gaudirun.profilerOptions = ""
 gaudirun.toolname = profilerName.replace("valgrind", "")
str gaudirun.outoption = "--log-file"
 gaudirun.profilerPath = distutils.spawn.find_executable(profilerExecName)
list gaudirun.to_reload = []
list gaudirun.arglist = [profilerPath] + profilerOptions.split() + args
 gaudirun.output
 gaudirun.c = gaudimain()
 gaudirun.process
 gaudirun.optlines = list(opts.options)
dict gaudirun.g = {"process": process}
dict gaudirun.l = {}
 gaudirun._appliedConfigurableUsers_
 gaudirun.use_temp_opts
 gaudirun.instances
 gaudirun.fd
 gaudirun.tmpfile
 gaudirun.printsequence
 gaudirun.retcode = c.run(opts.gdb, opts.ncpus)
dict gaudirun.run_info = {}