@Namespace(value="tflite") @Properties(inherit=tensorflowlite.class) public class Profiler extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT
enum class tflite::Profiler::EventType
|
static int |
DELEGATE_OPERATOR_INVOKE_EVENT
enum class tflite::Profiler::EventType
|
static int |
DELEGATE_PROFILED_OPERATOR_INVOKE_EVENT
enum class tflite::Profiler::EventType
|
static int |
GENERAL_RUNTIME_INSTRUMENTATION_EVENT
enum class tflite::Profiler::EventType
|
static int |
OPERATOR_INVOKE_EVENT
enum class tflite::Profiler::EventType
|
static int |
TELEMETRY_DELEGATE_EVENT
enum class tflite::Profiler::EventType
|
static int |
TELEMETRY_DELEGATE_REPORT_SETTINGS
enum class tflite::Profiler::EventType
|
static int |
TELEMETRY_EVENT
enum class tflite::Profiler::EventType
|
static int |
TELEMETRY_REPORT_SETTINGS
enum class tflite::Profiler::EventType
|
Constructor and Description |
---|
Profiler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AddEvent(BytePointer tag,
int event_type,
long elapsed_time,
long event_metadata) |
void |
AddEvent(BytePointer tag,
int event_type,
long metric,
long event_metadata1,
long event_metadata2) |
void |
AddEvent(String tag,
int event_type,
long elapsed_time,
long event_metadata) |
void |
AddEvent(String tag,
int event_type,
long metric,
long event_metadata1,
long event_metadata2) |
void |
AddEventWithData(BytePointer tag,
int event_type,
Pointer data) |
void |
AddEventWithData(String tag,
int event_type,
Pointer data) |
int |
BeginEvent(BytePointer tag,
int event_type,
long event_metadata) |
int |
BeginEvent(BytePointer tag,
int event_type,
long event_metadata1,
long event_metadata2) |
int |
BeginEvent(String tag,
int event_type,
long event_metadata) |
int |
BeginEvent(String tag,
int event_type,
long event_metadata1,
long event_metadata2) |
void |
EndEvent(int event_handle) |
void |
EndEvent(int event_handle,
long event_metadata1,
long event_metadata2) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int DEFAULT
public static final int OPERATOR_INVOKE_EVENT
public static final int DELEGATE_OPERATOR_INVOKE_EVENT
public static final int DELEGATE_PROFILED_OPERATOR_INVOKE_EVENT
public static final int GENERAL_RUNTIME_INSTRUMENTATION_EVENT
public static final int TELEMETRY_EVENT
public static final int TELEMETRY_REPORT_SETTINGS
public static final int TELEMETRY_DELEGATE_EVENT
public static final int TELEMETRY_DELEGATE_REPORT_SETTINGS
public Profiler(Pointer p)
Pointer(Pointer)
.@Cast(value="uint32_t") public int BeginEvent(@Cast(value="const char*") BytePointer tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="int64_t") long event_metadata1, @Cast(value="int64_t") long event_metadata2)
@Cast(value="uint32_t") public int BeginEvent(String tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="int64_t") long event_metadata1, @Cast(value="int64_t") long event_metadata2)
@Cast(value="uint32_t") public int BeginEvent(@Cast(value="const char*") BytePointer tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="int64_t") long event_metadata)
@Cast(value="uint32_t") public int BeginEvent(String tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="int64_t") long event_metadata)
public void EndEvent(@Cast(value="uint32_t") int event_handle, @Cast(value="int64_t") long event_metadata1, @Cast(value="int64_t") long event_metadata2)
public void AddEvent(@Cast(value="const char*") BytePointer tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="uint64_t") long elapsed_time, @Cast(value="int64_t") long event_metadata)
public void AddEvent(String tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="uint64_t") long elapsed_time, @Cast(value="int64_t") long event_metadata)
public void AddEvent(@Cast(value="const char*") BytePointer tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="uint64_t") long metric, @Cast(value="int64_t") long event_metadata1, @Cast(value="int64_t") long event_metadata2)
public void AddEvent(String tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Cast(value="uint64_t") long metric, @Cast(value="int64_t") long event_metadata1, @Cast(value="int64_t") long event_metadata2)
public void AddEventWithData(@Cast(value="const char*") BytePointer tag, @Cast(value="tflite::Profiler::EventType") int event_type, @Const Pointer data)
Copyright © 2025. All rights reserved.