@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class IProfiler extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IProfiler()
Default native constructor.
|
IProfiler(long size)
Native array allocator.
|
IProfiler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IProfiler |
getPointer(long i) |
IProfiler |
position(long position) |
void |
reportLayerTime(String layerName,
float ms)
\brief Layer time reporting callback.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public IProfiler()
public IProfiler(long size)
Pointer.position(long)
.public IProfiler(Pointer p)
Pointer(Pointer)
.public IProfiler getPointer(long i)
getPointer
in class Pointer
@Virtual(value=true) @NoException(value=true) public void reportLayerTime(String layerName, float ms)
layerName
- The name of the layer, set when constructing the network definition. If the engine is built
with profiling verbosity set to kNONE, the layerName is the decimal index of the layer.ms
- The time in milliseconds to execute the layer.Copyright © 2024. All rights reserved.