Search in sources :

Example 1 with JOPConfig

use of com.jopdesign.common.processormodel.JOPConfig in project jop by jop-devel.

the class Report method generateBytecodeTable.

private void generateBytecodeTable() throws IOException {
    File file = config.getReportFile("Bytecode WCET Table.txt");
    FileWriter fw = new FileWriter(file);
    // FIXME: generate proper timing table
    JOPConfig jopConfig = new JOPConfig(project.getConfig());
    fw.append(new WCETInstruction(jopConfig.rws(), jopConfig.wws()).toWCAString());
    fw.close();
    this.addPage("input/bytecodetable", file.getName());
}
Also used : JOPConfig(com.jopdesign.common.processormodel.JOPConfig) FileWriter(java.io.FileWriter) WCETInstruction(com.jopdesign.timing.jop.WCETInstruction) File(java.io.File)

Aggregations

JOPConfig (com.jopdesign.common.processormodel.JOPConfig)1 WCETInstruction (com.jopdesign.timing.jop.WCETInstruction)1 File (java.io.File)1 FileWriter (java.io.FileWriter)1