edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal Class Reference

The local disk version of the Data controller. More...

Inheritance diagram for edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpaceTimeDataControllerLocal (IWorkbenchWindow _window, String databaseDirectory) throws InvalExperimentException, Exception
boolean setupTrace (IWorkbenchWindow _window, IStatusLineManager _statusMgr)
ProcessTimeline getNextTrace (boolean changedBounds)
void setBaseData (IBaseData baseData)
IFilteredData createFilteredBaseData ()
String getTraceFileAbsolutePath ()
void closeDB ()
void dispose ()
void fillTracesWithData (boolean changedBounds, int numThreadsToLaunch)
String getName ()
void setDataIndex (int dataIndex)
int getDataIndex ()
int getMaxDepth ()
int computeScaledProcess ()
 getCurrentlySelectedProcess() returns something on [begProcess, endProcess-1].
ProcessTimeline getDepthTrace ()
synchronized ProcessTimeline getNextDepthTrace ()
IBaseData getBaseData ()
int getTotalTraceCount ()
int getPixelHorizontal ()
void setTraceAttributes (ImageTraceAttributes attributes)
ImageTraceAttributes getAttributes ()
long getTimeWidth ()
long getMaxEndTime ()
long getMinBegTime ()
ColorTable getColorTable ()
void setEnableMidpoint (boolean enable)
boolean isEnableMidpoint ()
void resetCounters ()
int getNumberOfLines ()
int getNumberOfDepthLines ()
IFilteredData getFilteredBaseData ()
void setBaseData (IFilteredData filteredBaseData)
 changing the trace data, caller needs to make sure to refresh the views

Protected Member Functions

HashMap< Integer, CallPath > getScopeMap ()

Protected Attributes

ImageTraceAttributes attributes
long maxEndTime
 The minimum beginning and maximum ending time stamp across all traces (in microseconds)).
long minBegTime
ProcessTimelineService ptlService
AtomicInteger lineNum
int maxDepth
 The maximum depth of any single CallStackSample in any trace.
ColorTable colorTable
IBaseData dataTrace = null
final ExperimentWithoutMetrics exp

Static Protected Attributes

static final int MIN_TRACE_SIZE = TraceDataByRank.HeaderSzMin + TraceDataByRank.RecordSzMin * 2

Package Attributes

AtomicInteger depthLineNum

Private Member Functions

String getTraceFile (String directory, final IStatusLineManager statusMgr)
int lineToPaint (int line)
 Returns the index of the file to which the line-th line corresponds.

Private Attributes

String traceFilePath

Detailed Description

The local disk version of the Data controller.

Author:
Philip Taffet

Definition at line 29 of file SpaceTimeDataControllerLocal.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.SpaceTimeDataControllerLocal ( IWorkbenchWindow  _window,
String  databaseDirectory 
) throws InvalExperimentException, Exception

Definition at line 34 of file SpaceTimeDataControllerLocal.java.


Member Function Documentation

void edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.closeDB (  )  [virtual]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.computeScaledProcess (  )  [inherited]
IFilteredData edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.createFilteredBaseData (  )  [virtual]
void edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.dispose (  ) 
void edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.fillTracesWithData ( boolean  changedBounds,
int  numThreadsToLaunch 
) [virtual]
ImageTraceAttributes edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getAttributes (  )  [inherited]

Definition at line 252 of file SpaceTimeDataController.java.

References edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.attributes.

Referenced by edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.adjustLabels(), edu.rice.cs.hpc.traceviewer.painter.BaseViewPaint.BaseViewPaint(), edu.rice.cs.hpc.traceviewer.timeline.BaseTimelineThread.call(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.canGoEast(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.canGoNorth(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.canGoSouth(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.canGoWest(), edu.rice.cs.hpc.traceviewer.depth.DepthTimeCanvas.changePosition(), edu.rice.cs.hpc.traceviewer.summary.SummaryTimeCanvas.changeRegion(), edu.rice.cs.hpc.traceviewer.depth.DepthTimeCanvas.changeRegion(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.confirmNewRegion(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.donePainting(), edu.rice.cs.hpc.traceviewer.main.TimelineThread.getData(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.getNumProcessesDisplayed(), edu.rice.cs.hpc.traceviewer.summary.SummaryTimeCanvas.getNumTimeDisplayed(), edu.rice.cs.hpc.traceviewer.depth.DepthTimeCanvas.getNumTimeDisplayed(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.getNumTimeUnitDisplayed(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.getScalePixelsPerRank(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.getScalePixelsPerTime(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.goEast(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.goNorth(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.goSouth(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.goWest(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.historyNotification(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.home(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.mouseUp(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.paintControl(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.paintControl(), edu.rice.cs.hpc.traceviewer.depth.DepthTimeCanvas.paintControl(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.processZoomIn(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.processZoomOut(), edu.rice.cs.hpc.traceviewer.depth.DepthTimeCanvas.rebuffer(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.DetailBufferPaint.rebuffering(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.refresh(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.HistoryOperation.run(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.save(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.setDepth(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.setDetail(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.setProcessRange(), edu.rice.cs.hpc.traceviewer.misc.CallStackViewer.setSample(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.setTimeRange(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.SpaceTimeMiniCanvas(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.timeZoomIn(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.timeZoomOut(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.updateButtonStates(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.updatePosition(), edu.rice.cs.hpc.traceviewer.misc.SpaceTimeMiniCanvas.updateView(), edu.rice.cs.hpc.traceviewer.misc.CallStackViewer.updateView(), edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.updateView(), and edu.rice.cs.hpc.traceviewer.main.SpaceTimeDetailCanvas.zoom().

IBaseData edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getBaseData (  )  [inherited]
ColorTable edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getColorTable (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getDataIndex (  )  [inherited]
ProcessTimeline edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getDepthTrace (  )  [inherited]
IFilteredData edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getFilteredBaseData (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getMaxDepth (  )  [inherited]
long edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getMaxEndTime (  )  [inherited]
long edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getMinBegTime (  )  [inherited]
String edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.getName (  )  [virtual]
synchronized ProcessTimeline edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getNextDepthTrace (  )  [inherited]
ProcessTimeline edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.getNextTrace ( boolean  changedBounds  )  [virtual]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getNumberOfDepthLines (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getNumberOfLines (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getPixelHorizontal (  )  [inherited]
HashMap<Integer, CallPath> edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getScopeMap (  )  [protected, inherited]
long edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getTimeWidth (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.getTotalTraceCount (  )  [inherited]
String edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.getTraceFile ( String  directory,
final IStatusLineManager  statusMgr 
) [private]
String edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.getTraceFileAbsolutePath (  ) 
boolean edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.isEnableMidpoint (  )  [inherited]
int edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.lineToPaint ( int  line  )  [private]

Returns the index of the file to which the line-th line corresponds.

Definition at line 161 of file SpaceTimeDataControllerLocal.java.

References edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.attributes.

Referenced by edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.getNextTrace().

void edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.resetCounters (  )  [inherited]
void edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.setBaseData ( IFilteredData  filteredBaseData  )  [inherited]
void edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.setBaseData ( IBaseData  baseData  ) 
void edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.setDataIndex ( int  dataIndex  )  [inherited]
void edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.setEnableMidpoint ( boolean  enable  )  [inherited]
void edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.setTraceAttributes ( ImageTraceAttributes  attributes  )  [inherited]

Definition at line 248 of file SpaceTimeDataController.java.

boolean edu.rice.cs.hpc.traceviewer.db.local.SpaceTimeDataControllerLocal.setupTrace ( IWorkbenchWindow  _window,
IStatusLineManager  _statusMgr 
)

Member Data Documentation

final ExperimentWithoutMetrics edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.exp [protected, inherited]

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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1