To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 5e72dbc1 authored by steveb-oss's avatar steveb-oss
Browse files

[svn r451] first cut at avrora

parent f5ed5d4b
benchmark avrora
class org.dacapo.harness.Avrora
thread-model single
jar "avrora-cvs-20090612.jar";
size small args "-seconds=30",
"-platform=mica2",
"-simulation=sensor-network",
"-nodecount=3,3",
"-stagger-start=1000000",
"test/tinyos/CntToRfm.elf",
"test/tinyos/RfmToLeds.elf";
output stdout digest 0xeed330117ac3825c8747c2c648381fefabc82b89,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size default args "-seconds=30",
"-platform=mica2",
"-simulation=sensor-network",
"-nodecount=3,3",
"-stagger-start=1000000",
"test/tinyos/CntToRfm.elf",
"test/tinyos/RfmToLeds.elf";
output stdout digest 0xeed330117ac3825c8747c2c648381fefabc82b89,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size large args "-seconds=30",
"-platform=mica2",
"-simulation=sensor-network",
"-nodecount=3,3",
"-stagger-start=1000000",
"test/tinyos/CntToRfm.elf",
"test/tinyos/RfmToLeds.elf";
output stdout digest 0xeed330117ac3825c8747c2c648381fefabc82b89,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
description
short "XXXXXXX",
long "XXXXXXX",
copyright "XXXXXXX",
author "Ben L. Titzer",
license "XXXXXXX",
url "http://compilers.cs.ucla.edu/avrora/",
version "cvs-20090612",
threads "Single threaded",
repeats "XXXXXXX";
<project name="avrora" default="all" basedir="../..">
<description>DaCapo avrora benchmark</description>
<property file="dacapo.properties"/>
<property name="bm-name" value="avrora"/>
<property name="bm-cvs-root" value=":pserver:anonymous@avrora.cvs.sourceforge.net:/cvsroot/avrora"/>
<property name="bm-cvs-date" value="20090612"/>
<property name="bm-cvs-package" value="${bm-name}"/>
<property name="bm-version" value="cvs-${bm-cvs-date}"/>
<property name="bm-src" value="${bm-name}-${bm-version}-src.tar.gz"/>
<import file="../common.xml"/>
<target name="unpack" depends="untar"/>
<target name="bm-build">
<property name="bm-tmp-dir" location="${bm-build-dir}/build"/>
<mkdir dir="${bm-tmp-dir}"/>
<javac srcdir="${bm-build-dir}/${bm-name}/src" destdir="${bm-tmp-dir}"
source="1.5" target="1.5"
debug="true" debuglevel="lines,vars,source"/>
<copy todir="${bm-tmp-dir}/avrora/gui">
<fileset dir="${bm-build-dir}/${bm-name}/src/avrora/gui">
<include name="images/*"/>
</fileset>
</copy>
</target>
<target name="data">
<zip destfile="${bm-dat}/${bm-name}.zip">
<fileset dir="${bm-build-dir}/${bm-name}">
<include name="test/**/*"/>
</fileset>
</zip>
</target>
<target name="jar">
<jar destfile="${bm-jars}/${bm-name}-${bm-version}.jar">
<fileset dir="${bm-build-dir}/build">
<include name="**/*"/>
</fileset>
</jar>
</target>
</project>
package org.dacapo.harness;
import java.io.File;
import org.dacapo.harness.Benchmark;
import org.dacapo.parser.Config;
public class Avrora extends Benchmark {
String[] args;
public Avrora(Config config, File scratch) throws Exception {
super(config, scratch);
Class<?> clazz = Class.forName("avrora.Main", true, loader);
this.method = clazz.getMethod("main",String[].class);
}
public void iterate(String size) throws Exception {
method.invoke(null,(Object)args);
}
/**
* Stub which exists <b>only</b> to facilitate whole program
* static analysis on a per-benchmark basis. See also the "split-deps"
* ant build target, which is also provided to enable whole program
* static analysis.
*
* @author Eric Bodden
*/
public static void main(String args[]) throws Exception {
// create dummy harness and invoke with dummy arguments
(new Avrora(null, null)).run(null, "");
}
}
......@@ -47,7 +47,11 @@
<!-- Build -->
<!-- *************************************************************************** -->
<target name="batik" depends="init,harness">
<target name="avrora" depends="init,harness">
<ant antfile="bms/avrora/build.xml" target="incremental" inheritAll="true"/>
</target>
<target name="batik" depends="init,harness">
<ant antfile="bms/batik/build.xml" target="incremental" inheritAll="true"/>
</target>
<target name="derby" depends="init,harness">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment