public class ProfileLockHistogram1D extends ProfileHistogram1D
Histogram1D while synchronized.
Takes a Histogram1D dataset and repeatedly renders with several synchronized AreaGraph2DRenderer objects.data, LOG_FILEPATH, renderer| Constructor and Description |
|---|
ProfileLockHistogram1D()
Creates a tool to profile
Histogram1D where multiple renders are performed with synchronization. |
| Modifier and Type | Method and Description |
|---|---|
protected Cell1DDataset |
getDataset()
Gets the histogram data used for each profiler.
|
String |
getGraphTitle()
Returns the name of the graph being profiled.
|
static void |
main(String[] args)
Profiles for
Histogram1D with lock synchronization,
prints the statistics to the console and saves the statistics. |
void |
render(Graphics2D graphics,
AreaGraph2DRenderer renderer,
Cell1DDataset data)
Draws the histogram data in multiple histogram profilers synchronized through the dataset buffer.
|
getRenderer, getVariationsgetLogFileName, getNumDataPoints, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, iterationAction, postIterationAction, preLoopAction, saveImage, saveStatistics, setNumDataPointsgetProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatisticspublic ProfileLockHistogram1D()
Histogram1D where multiple renders are performed with synchronization.protected final Cell1DDataset getDataset()
getDataset in class ProfileHistogram1DinitDatasets()public void render(Graphics2D graphics, AreaGraph2DRenderer renderer, Cell1DDataset data)
render in class ProfileHistogram1Dgraphics - where image draws torenderer - what draws the imagedata - the histogram data being drawnpublic String getGraphTitle()
getGraphTitle in class ProfileHistogram1DHistogram1D lock profile titlepublic static void main(String[] args)
Histogram1D with lock synchronization,
prints the statistics to the console and saves the statistics.args - console arguments -- no impactCopyright © 2015. All rights reserved.