Examples of BenchmarkDescription


Examples of com.sun.faban.harness.common.BenchmarkDescription

            response.sendError(HttpServletResponse.SC_BAD_REQUEST,
                    "Benchmark and profile not provided in request.");
            return;
        }
        // first is the bench name
        BenchmarkDescription desc =
                BenchmarkDescription.getDescription(reqC[1]);
        if (desc == null) {
            response.sendError(HttpServletResponse.SC_BAD_REQUEST,
                    "Benchmark " + reqC[1] + " not deployed.");
            return;
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

     */
    public static void editXML(RunResult result){
        try {
            File resultDir = result.runId.getResultDir();
            String shortName = result.runId.getBenchName();
            BenchmarkDescription desc = BenchmarkDescription.readDescription(
                                        shortName, resultDir.getAbsolutePath());
            String paramFileName = resultDir.getAbsolutePath() + File.separator
                                                          + desc.configFileName;
            ParamRepository param = new ParamRepository(paramFileName, false);
            param.setParameter("fa:runConfig/fh:description",
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

        String shortName = runId.getBenchName();       

        String resultFilePath;
        String configFileName;
        BenchmarkDescription desc = BenchmarkDescription.
                getDescription(shortName, resultDir.getAbsolutePath());
        if (desc == null) {
            Map<String, BenchmarkDescription> benchMap =
                    BenchmarkDescription.getBenchDirMap();
            desc = (BenchmarkDescription) benchMap.get(shortName);
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

                dir.delete();
            }*/
        } else {
            try {
                generateDD(deployName);
                BenchmarkDescription desc = BenchmarkDescription.
                        readDescription(deployName, dir.toString());
                if (desc == null)
                    throw new DeployException(
                            "Missing META-INF directory in benchmark deployment.");
                generateXform(deployName);
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

     * @param benchName The banchmark name
     */
    public static void clearConfig(String benchName) {

        // 1. Figure out the config file name.
        BenchmarkDescription benchDesc = BenchmarkDescription.
                getDescription(benchName);
        if (benchDesc == null)
            return;
       
        String configFileName = benchDesc.configFileName + '.' + benchName;
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

    public void start() {
        ParamRepository par = null;
        ServerConfig server;

        // Read the benchmark description.
        BenchmarkDescription benchDesc = run.getBenchDesc();

        long startTime;  // benchmark start/end time
        long endTime;

        // Create benchmark object.
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

            return null;
        }

        RunId runIdObj = new RunId(runId);

        BenchmarkDescription benchDesc =
                BenchmarkDescription.getDescription(runIdObj.getBenchName());
        String runDir = Config.RUNQ_DIR + runId;
        String outDir = Config.OUT_DIR + runId;

        // Create output directory
View Full Code Here

Examples of com.sun.faban.harness.common.BenchmarkDescription

        }       
        runqLock.releaseLock();

        FileHelper.recursiveDelete(tmpRunDir);

        BenchmarkDescription benchDesc = BenchmarkDescription.
                                            getDescription(benchName);
        if (benchDesc == null) {
            RunEntryException e = new RunEntryException(
                    "Received run for benchmark " + benchName +
                    "from remote, benchmark not deployed. " +
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.