benchbuild.projects.lnt.lnt module

LNT based measurements.

class benchbuild.projects.lnt.lnt.LNTGroup(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.project.Project

LNT ProjectGroup for running the lnt test suite.

DOMAIN = 'lnt'
GROUP = 'lnt'
NAME_FILTERS = ['(?P<name>.+)\\.simple', '(?P<name>.+)-(dbl|flt)']
SRC_FILE = 'lnt.git'
SUBDIR = None
VERSION = 'HEAD'
static after_run_tests(sandbox_dir)[source]
binary = None
clang = None
clang_cxx = None
compile()[source]

Compile the project.

download()

Download the selected version.

lnt = None
repository = 'http://llvm.org/git/lnt'
run_tests(runner)[source]

Run the tests of this project.

Clients override this method to provide customized run-time tests.

Parameters:
  • experiment – The experiment we run this project under
  • run – A function that takes the run command.
sandbox_dir = None
src_dir = 'lnt'
test_suite_dir = 'test-suite'
test_suite_uri = 'http://llvm.org/git/test-suite'
static versions()

Return a list of versions from the git hashes up to :limit:.

class benchbuild.projects.lnt.lnt.MultiSourceApplications(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.lnt.lnt.LNTGroup

DOMAIN = 'LNT (MSA)'
NAME = 'MultiSourceApplications'
SUBDIR = 'MultiSource/Applications'
class benchbuild.projects.lnt.lnt.MultiSourceBenchmarks(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.lnt.lnt.LNTGroup

DOMAIN = 'LNT (MSB)'
NAME = 'MultiSourceBenchmarks'
SUBDIR = 'MultiSource/Benchmarks'
class benchbuild.projects.lnt.lnt.Povray(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.lnt.lnt.LNTGroup

DOMAIN = 'LNT (Ext)'
NAME = 'Povray'
SUBDIR = 'External/Povray'
compile()[source]

Compile the project.

povray_src_dir = 'Povray'
povray_url = 'https://github.com/POV-Ray/povray'
class benchbuild.projects.lnt.lnt.SPEC2006(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.lnt.lnt.LNTGroup

DOMAIN = 'LNT (Ext)'
NAME = 'SPEC2006'
SUBDIR = 'External/SPEC'
compile()[source]

Compile the project.

class benchbuild.projects.lnt.lnt.SingleSourceBenchmarks(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.lnt.lnt.LNTGroup

DOMAIN = 'LNT (SSB)'
NAME = 'SingleSourceBenchmarks'
SUBDIR = 'SingleSource/Benchmarks'