@Properties(inherit=cupti.class) public class CUpti_ActivityMemory extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CUpti_ActivityMemory()
Default native constructor.
|
CUpti_ActivityMemory(long size)
Native array allocator.
|
CUpti_ActivityMemory(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
_address()
The virtual address of the allocation
|
CUpti_ActivityMemory |
_address(long setter) |
long |
allocPC()
The program counter of the allocation of memory
|
CUpti_ActivityMemory |
allocPC(long setter) |
long |
bytes()
The number of bytes of memory allocated.
|
CUpti_ActivityMemory |
bytes(long setter) |
int |
contextId()
The ID of the context.
|
CUpti_ActivityMemory |
contextId(int setter) |
int |
deviceId()
The ID of the device where the memory allocation is taking place.
|
CUpti_ActivityMemory |
deviceId(int setter) |
long |
end()
The end timestamp for the memory operation, i.e.
|
CUpti_ActivityMemory |
end(long setter) |
long |
freePC()
The program counter of the freeing of memory.
|
CUpti_ActivityMemory |
freePC(long setter) |
CUpti_ActivityMemory |
getPointer(long i) |
int |
kind()
The activity record kind, must be CUPTI_ACTIVITY_KIND_MEMORY
|
CUpti_ActivityMemory |
kind(int setter) |
int |
memoryKind()
The memory kind requested by the user
|
CUpti_ActivityMemory |
memoryKind(int setter) |
BytePointer |
name()
Variable name.
|
CUpti_ActivityMemory |
name(BytePointer setter) |
int |
pad()
Undefined.
|
CUpti_ActivityMemory |
pad(int setter) |
CUpti_ActivityMemory |
position(long position) |
int |
processId()
The ID of the process to which this record belongs to.
|
CUpti_ActivityMemory |
processId(int setter) |
long |
start()
The start timestamp for the memory operation, i.e.
|
CUpti_ActivityMemory |
start(long setter) |
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, zeropublic CUpti_ActivityMemory()
public CUpti_ActivityMemory(long size)
Pointer.position(long).public CUpti_ActivityMemory(Pointer p)
Pointer(Pointer).public CUpti_ActivityMemory position(long position)
public CUpti_ActivityMemory getPointer(long i)
getPointer in class Pointer@Cast(value="CUpti_ActivityKind") public int kind()
public CUpti_ActivityMemory kind(int setter)
@Cast(value="CUpti_ActivityMemoryKind") public int memoryKind()
public CUpti_ActivityMemory memoryKind(int setter)
@Cast(value="uint64_t") @Name(value="address") public long _address()
public CUpti_ActivityMemory _address(long setter)
public CUpti_ActivityMemory bytes(long setter)
@Cast(value="uint64_t") public long start()
public CUpti_ActivityMemory start(long setter)
@Cast(value="uint64_t") public long end()
public CUpti_ActivityMemory end(long setter)
@Cast(value="uint64_t") public long allocPC()
public CUpti_ActivityMemory allocPC(long setter)
@Cast(value="uint64_t") public long freePC()
public CUpti_ActivityMemory freePC(long setter)
@Cast(value="uint32_t") public int processId()
public CUpti_ActivityMemory processId(int setter)
@Cast(value="uint32_t") public int deviceId()
public CUpti_ActivityMemory deviceId(int setter)
@Cast(value="uint32_t") public int contextId()
public CUpti_ActivityMemory contextId(int setter)
public CUpti_ActivityMemory pad(int setter)
@Cast(value="const char*") public BytePointer name()
public CUpti_ActivityMemory name(BytePointer setter)
Copyright © 2025. All rights reserved.