@Namespace(value="caffe") @Properties(inherit=caffe.class) public class CPUTimer extends Timer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CPUTimer() |
CPUTimer(long size)
Native array allocator.
|
CPUTimer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
CPUTimer |
getPointer(long i) |
float |
MicroSeconds() |
float |
MilliSeconds() |
CPUTimer |
position(long position) |
void |
Start() |
void |
Stop() |
has_run_at_least_once, initted, running, Seconds
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 CPUTimer(Pointer p)
Pointer(Pointer)
.public CPUTimer(long size)
Pointer.position(long)
.public CPUTimer()
public CPUTimer getPointer(long i)
getPointer
in class Timer
public float MilliSeconds()
MilliSeconds
in class Timer
public float MicroSeconds()
MicroSeconds
in class Timer
Copyright © 2022. All rights reserved.