@Properties(inherit=nvml.class) public class nvmlGpmMetric_t extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
nvmlGpmMetric_t()
Default native constructor.
|
nvmlGpmMetric_t(long size)
Native array allocator.
|
nvmlGpmMetric_t(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
nvmlGpmMetric_t |
getPointer(long i) |
int |
metricId()
IN: NVML_GPM_METRIC_? #define of which metric to retrieve
|
nvmlGpmMetric_t |
metricId(int setter) |
BytePointer |
metricInfo_longName() |
nvmlGpmMetric_t |
metricInfo_longName(BytePointer setter) |
BytePointer |
metricInfo_shortName() |
nvmlGpmMetric_t |
metricInfo_shortName(BytePointer setter) |
BytePointer |
metricInfo_unit() |
nvmlGpmMetric_t |
metricInfo_unit(BytePointer setter) |
int |
nvmlReturn()
OUT: Status of this metric.
|
nvmlGpmMetric_t |
nvmlReturn(int setter) |
nvmlGpmMetric_t |
position(long position) |
double |
value()
OUT: Value of this metric.
|
nvmlGpmMetric_t |
value(double 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, zero
public nvmlGpmMetric_t()
public nvmlGpmMetric_t(long size)
Pointer.position(long)
.public nvmlGpmMetric_t(Pointer p)
Pointer(Pointer)
.public nvmlGpmMetric_t position(long position)
public nvmlGpmMetric_t getPointer(long i)
getPointer
in class Pointer
@Cast(value="unsigned int") public int metricId()
public nvmlGpmMetric_t metricId(int setter)
@Cast(value="nvmlReturn_t") public int nvmlReturn()
public nvmlGpmMetric_t nvmlReturn(int setter)
public double value()
public nvmlGpmMetric_t value(double setter)
@Name(value="metricInfo.shortName") @Cast(value="char*") public BytePointer metricInfo_shortName()
public nvmlGpmMetric_t metricInfo_shortName(BytePointer setter)
@Name(value="metricInfo.longName") @Cast(value="char*") public BytePointer metricInfo_longName()
public nvmlGpmMetric_t metricInfo_longName(BytePointer setter)
@Name(value="metricInfo.unit") @Cast(value="char*") public BytePointer metricInfo_unit()
public nvmlGpmMetric_t metricInfo_unit(BytePointer setter)
Copyright © 2024. All rights reserved.