edu.rice.cs.hpc.data.db.DataCommon Class Reference

Inheritance diagram for edu.rice.cs.hpc.data.db.DataCommon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void open (final String file) throws IOException
void printInfo (PrintStream out)
void dispose () throws IOException

Protected Member Functions

void readHeader (String file, FileInputStream fis, ByteBuffer buffer) throws IOException
abstract boolean isTypeFormatCorrect (long type)
abstract boolean isFileHeaderCorrect (String header)
abstract boolean readNext (FileChannel input) throws IOException

Protected Attributes

long format
long num_threads
long num_cctid
long num_metric
String filename

Private Member Functions

void throw_exception (FileInputStream input, String message) throws IOException

Static Private Attributes

static final int HEADER_COMMON_SIZE = 256
static final int MESSAGE_SIZE = 32
static final int MAGIC = 0x06870630

Detailed Description

Definition at line 15 of file DataCommon.java.


Member Function Documentation

void edu.rice.cs.hpc.data.db.DataCommon.dispose (  )  throws IOException

Reimplemented in edu.rice.cs.hpc.viewer.db.DataSummary.

Definition at line 78 of file DataCommon.java.

abstract boolean edu.rice.cs.hpc.data.db.DataCommon.isFileHeaderCorrect ( String  header  )  [protected, pure virtual]
abstract boolean edu.rice.cs.hpc.data.db.DataCommon.isTypeFormatCorrect ( long  type  )  [protected, pure virtual]
void edu.rice.cs.hpc.data.db.DataCommon.open ( final String  file  )  throws IOException
void edu.rice.cs.hpc.data.db.DataCommon.printInfo ( PrintStream  out  ) 
void edu.rice.cs.hpc.data.db.DataCommon.readHeader ( String  file,
FileInputStream  fis,
ByteBuffer  buffer 
) throws IOException [protected]
abstract boolean edu.rice.cs.hpc.data.db.DataCommon.readNext ( FileChannel  input  )  throws IOException [protected, pure virtual]
void edu.rice.cs.hpc.data.db.DataCommon.throw_exception ( FileInputStream  input,
String  message 
) throws IOException [private]

Definition at line 165 of file DataCommon.java.

Referenced by edu.rice.cs.hpc.data.db.DataCommon.readHeader().


Member Data Documentation

final int edu.rice.cs.hpc.data.db.DataCommon.HEADER_COMMON_SIZE = 256 [static, private]

Definition at line 17 of file DataCommon.java.

Referenced by edu.rice.cs.hpc.data.db.DataCommon.open().

final int edu.rice.cs.hpc.data.db.DataCommon.MAGIC = 0x06870630 [static, private]

Definition at line 19 of file DataCommon.java.

Referenced by edu.rice.cs.hpc.data.db.DataCommon.readHeader().

final int edu.rice.cs.hpc.data.db.DataCommon.MESSAGE_SIZE = 32 [static, private]

Definition at line 18 of file DataCommon.java.

Referenced by edu.rice.cs.hpc.data.db.DataCommon.readHeader().


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1