public class GPUStatistics extends Object
Statistics
.Constructor and Description |
---|
GPUStatistics() |
Modifier and Type | Method and Description |
---|---|
static int |
getNoOfExecutedGPUInst() |
static String |
getStringForCPMiscTimesPerInstruction(String instructionName)
Used to print misc timers (and their counts) for a given instruction/op
|
static String |
getStringForCudaTimers()
Used to print out cuda timers & counters
|
static void |
incrementNoOfExecutedGPUInst() |
static void |
reset()
Resets all the cuda counters and timers, including the misc timers & counters
|
static void |
resetMiscTimers()
Resets the miscellaneous timers & counters
|
static void |
setNoOfExecutedGPUInst(int numJobs) |
public static long cudaInitTime
public static long cudaLibrariesInitTime
public static LongAdder cudaSparseToDenseTime
public static LongAdder cudaDenseToSparseTime
public static LongAdder cudaSparseConversionTime
public static LongAdder cudaSparseToDenseCount
public static LongAdder cudaDenseToSparseCount
public static LongAdder cudaSparseConversionCount
public static LongAdder cudaAllocTime
public static LongAdder cudaAllocSuccessTime
public static LongAdder cudaAllocFailedTime
public static LongAdder cudaDeAllocTime
public static LongAdder cudaMemSet0Time
public static LongAdder cudaToDevTime
public static LongAdder cudaFromDevTime
public static LongAdder cudaFromShadowToHostTime
public static LongAdder cudaFromShadowToDevTime
public static LongAdder cudaFromDevToShadowTime
public static LongAdder cudaEvictTime
public static LongAdder cudaEvictSizeTime
public static LongAdder cudaFloat2DoubleTime
public static LongAdder cudaDouble2FloatTime
public static LongAdder cudaEvictMemcpyTime
public static LongAdder cudaForcedClearLazyFreedEvictTime
public static LongAdder cudaForcedClearUnpinnedEvictTime
public static LongAdder cudaAllocCount
public static LongAdder cudaDeAllocCount
public static LongAdder cudaMemSet0Count
public static LongAdder cudaToDevCount
public static LongAdder cudaFromDevCount
public static LongAdder cudaFromShadowToHostCount
public static LongAdder cudaFromShadowToDevCount
public static LongAdder cudaFromDevToShadowCount
public static LongAdder cudaEvictCount
public static LongAdder cudaEvictSizeCount
public static LongAdder cudaFloat2DoubleCount
public static LongAdder cudaDouble2FloatCount
public static LongAdder cudaAllocSuccessCount
public static LongAdder cudaAllocFailedCount
public static LongAdder cudaAllocReuseCount
public static void resetMiscTimers()
public static void reset()
public static void setNoOfExecutedGPUInst(int numJobs)
public static void incrementNoOfExecutedGPUInst()
public static int getNoOfExecutedGPUInst()
public static String getStringForCPMiscTimesPerInstruction(String instructionName)
instructionName
- name of the instruction/oppublic static String getStringForCudaTimers()
Copyright © 2020 The Apache Software Foundation. All rights reserved.