public class KernelDeviceProfile extends Object
Constructor and Description |
---|
KernelDeviceProfile(Class<? extends Kernel> kernel,
Device device) |
Modifier and Type | Method and Description |
---|---|
String |
getAverageAsTableRow() |
String |
getCumulativeAsTableRow() |
double |
getCumulativeElapsedTime(ProfilingEvent stage)
Elapsed time for a single event only, i.e.
|
double |
getCumulativeElapsedTimeAll()
Elapsed time of entire execution, summed over all executions.
|
String |
getLastAsTableRow() |
double |
getLastElapsedTime(ProfilingEvent stage)
Elapsed time for a single event only, i.e.
|
double |
getLastElapsedTime(ProfilingEvent from,
ProfilingEvent to)
Elapsed time for all events
from through to . |
static String |
getTableHeader() |
void |
onEvent(ProfilingEvent event) |
String |
toString() |
public void onEvent(ProfilingEvent event)
public double getLastElapsedTime(ProfilingEvent stage)
public double getLastElapsedTime(ProfilingEvent from, ProfilingEvent to)
from
through to
.public double getCumulativeElapsedTime(ProfilingEvent stage)
public double getCumulativeElapsedTimeAll()
public static String getTableHeader()
public String getLastAsTableRow()
public String getCumulativeAsTableRow()
public String getAverageAsTableRow()
Copyright © 2016 Syncleus. All rights reserved.