Classes | |
class | DecompressionItemToDo |
Public Member Functions | |
DecompressionThread (ProcessTimelineService ptlService, HashMap< Integer, CallPath > _scopeMap, ImageTraceAttributes attributes, ConcurrentLinkedQueue< DecompressionItemToDo > workToDo, ConcurrentLinkedQueue< Integer > timelinesAvailableForRendering, AtomicInteger ranksRemainingToDecompress, IThreadListener listener) | |
void | run () |
Static Public Attributes | |
static final int | COMPRESSION_TYPE_MASK = 0xFFFF |
static final short | ZLIB_COMPRESSSED = 1 |
Package Attributes | |
final ProcessTimelineService | timelineServ |
final HashMap< Integer, CallPath > | scopeMap |
final ImageTraceAttributes | attributes |
Static Package Attributes | |
static boolean | first = true |
Private Member Functions | |
void | decompress (DecompressionItemToDo toDecomp) throws IOException |
DataRecord[] | readTimeCPIDArray (byte[] packedTraceLine, int length, long t0, long tn, int compressed) throws IOException |
Reads from the stream and creates an array of Timestamp-CPID pairs containing the data for this rank. | |
Private Attributes | |
final ConcurrentLinkedQueue < DecompressionItemToDo > | workToDo |
final ConcurrentLinkedQueue < Integer > | timelinesAvailableForRendering |
final IThreadListener | listener |
final AtomicInteger | ranksRemainingToDecompress |
Definition at line 32 of file DecompressionThread.java.
edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.DecompressionThread | ( | ProcessTimelineService | ptlService, | |
HashMap< Integer, CallPath > | _scopeMap, | |||
ImageTraceAttributes | attributes, | |||
ConcurrentLinkedQueue< DecompressionItemToDo > | workToDo, | |||
ConcurrentLinkedQueue< Integer > | timelinesAvailableForRendering, | |||
AtomicInteger | ranksRemainingToDecompress, | |||
IThreadListener | listener | |||
) |
Definition at line 63 of file DecompressionThread.java.
References edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.scopeMap, and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.timelineServ.
void edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress | ( | DecompressionItemToDo | toDecomp | ) | throws IOException [private] |
Definition at line 140 of file DecompressionThread.java.
References edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.attributes, edu.rice.cs.hpc.traceviewer.painter.ImageTraceAttributes.getTimeBegin(), edu.rice.cs.hpc.traceviewer.painter.ImageTraceAttributes.getTimeInterval(), edu.rice.cs.hpc.traceviewer.painter.ImageTraceAttributes.numPixelsH, edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.readTimeCPIDArray(), edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.scopeMap, edu.rice.cs.hpc.traceviewer.services.ProcessTimelineService.setProcessTimeline(), edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.timelinesAvailableForRendering, and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.timelineServ.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run().
DataRecord [] edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.readTimeCPIDArray | ( | byte[] | packedTraceLine, | |
int | length, | |||
long | t0, | |||
long | tn, | |||
int | compressed | |||
) | throws IOException [private] |
Reads from the stream and creates an array of Timestamp-CPID pairs containing the data for this rank.
packedTraceLine | ||
length | The number of Timestamp-CPID pairs in this rank (not the length in bytes) | |
t0 | The start time | |
tn | The end time | |
compressed |
IOException |
Definition at line 168 of file DecompressionThread.java.
References edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.COMPRESSION_TYPE_MASK, and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.ZLIB_COMPRESSSED.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress().
void edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run | ( | ) |
Definition at line 96 of file DecompressionThread.java.
References edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress(), edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.first, edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.listener, edu.rice.cs.hpc.traceviewer.db.remote.IThreadListener.notify(), edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.ranksRemainingToDecompress, and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.workToDo.
final ImageTraceAttributes edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.attributes [package] |
Definition at line 40 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress().
final int edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.COMPRESSION_TYPE_MASK = 0xFFFF [static] |
Definition at line 44 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.readTimeCPIDArray().
boolean edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.first = true [static, package] |
Definition at line 47 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run().
Definition at line 42 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run().
final AtomicInteger edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.ranksRemainingToDecompress [private] |
Definition at line 49 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run().
final HashMap<Integer, CallPath> edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.scopeMap [package] |
Definition at line 38 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress(), and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.DecompressionThread().
final ConcurrentLinkedQueue<Integer> edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.timelinesAvailableForRendering [private] |
Definition at line 35 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress().
final ProcessTimelineService edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.timelineServ [package] |
Definition at line 37 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.decompress(), and edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.DecompressionThread().
final ConcurrentLinkedQueue<DecompressionItemToDo> edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.workToDo [private] |
Definition at line 34 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.run().
final short edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.ZLIB_COMPRESSSED = 1 [static] |
Definition at line 45 of file DecompressionThread.java.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.DecompressionThread.readTimeCPIDArray().