@Namespace(value="dai") @Properties(inherit=depthai.class) public class CpuUsage extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CpuUsage()
Default native constructor.
|
CpuUsage(long size)
Native array allocator.
|
CpuUsage(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
average()
Average CPU usage, expressed with a normalized value (0-1)
|
CpuUsage |
average(float setter) |
CpuUsage |
getPointer(long i) |
int |
msTime()
Time span in which the average was calculated in milliseconds
|
CpuUsage |
msTime(int setter) |
CpuUsage |
position(long position) |
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 CpuUsage()
public CpuUsage(long size)
Pointer.position(long)
.public CpuUsage(Pointer p)
Pointer(Pointer)
.public CpuUsage getPointer(long i)
getPointer
in class Pointer
public float average()
public CpuUsage average(float setter)
public int msTime()
public CpuUsage msTime(int setter)
Copyright © 2024. All rights reserved.