@NoOffset @Properties(inherit=LinearMath.class) public class btClock extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btClock() |
btClock(btClock other) |
btClock(long size)
Native array allocator.
|
btClock(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
btClock |
getPointer(long i) |
long |
getTimeMicroseconds()
Returns the time in us since the last call to reset or since
the Clock was created.
|
long |
getTimeMilliseconds()
Returns the time in ms since the last call to reset or since
the btClock was created.
|
long |
getTimeNanoseconds() |
double |
getTimeSeconds()
Returns the time in s since the last call to reset or since
the Clock was created.
|
btClock |
position(long position) |
btClock |
put(btClock other) |
void |
reset()
Resets the initial reference time.
|
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 btClock(Pointer p)
Pointer(Pointer).public btClock(long size)
Pointer.position(long).public btClock()
public btClock getPointer(long i)
getPointer in class Pointerpublic void reset()
@Cast(value="unsigned long long int") public long getTimeMilliseconds()
@Cast(value="unsigned long long int") public long getTimeMicroseconds()
Copyright © 2024. All rights reserved.