public class ParallelEDIFParser
extends Object
implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
static int |
EDIF_GZIP_COMPRESSION_RATIO
Estimated ratio of EDIF to gzipped EDIF file size, used in calculating the
number of thread workers for parallel EDIF parsing
|
Constructor and Description |
---|
ParallelEDIFParser(Path p) |
ParallelEDIFParser(Path p,
long fileSize) |
ParallelEDIFParser(Path fileName,
long fileSize,
InputStreamSupplier inputStreamSupplier) |
Modifier and Type | Method and Description |
---|---|
static int |
calcThreads(long fileSize,
int maxThreads,
boolean isGzipped) |
void |
close() |
int |
getNumberOfThreads() |
int |
getSuccesfulThreads() |
EDIFNetlist |
parseEDIFNetlist() |
EDIFNetlist |
parseEDIFNetlist(CodePerfTracker t) |
public static final int EDIF_GZIP_COMPRESSION_RATIO
public ParallelEDIFParser(Path fileName, long fileSize, InputStreamSupplier inputStreamSupplier)
public ParallelEDIFParser(Path p, long fileSize)
public ParallelEDIFParser(Path p) throws IOException
IOException
public static int calcThreads(long fileSize, int maxThreads, boolean isGzipped)
public EDIFNetlist parseEDIFNetlist() throws IOException
IOException
public EDIFNetlist parseEDIFNetlist(CodePerfTracker t) throws IOException
IOException
public void close() throws IOException
close
in interface AutoCloseable
IOException
public int getNumberOfThreads()
public int getSuccesfulThreads()