@Namespace(value="tflite::telemetry") @Properties(inherit=tensorflowlite.class) public class TelemetryProfiler extends Profiler
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
DEFAULT, DELEGATE_OPERATOR_INVOKE_EVENT, DELEGATE_PROFILED_OPERATOR_INVOKE_EVENT, GENERAL_RUNTIME_INSTRUMENTATION_EVENT, OPERATOR_INVOKE_EVENT, TELEMETRY_DELEGATE_EVENT, TELEMETRY_DELEGATE_REPORT_SETTINGS, TELEMETRY_EVENT, TELEMETRY_REPORT_SETTINGS
Constructor and Description |
---|
TelemetryProfiler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
ReportBeginOpInvokeEvent(BytePointer op_name,
long op_idx,
long subgraph_idx) |
int |
ReportBeginOpInvokeEvent(String op_name,
long op_idx,
long subgraph_idx) |
void |
ReportEndOpInvokeEvent(int event_handle) |
void |
ReportOpInvokeEvent(BytePointer op_name,
long elapsed_time,
long op_idx,
long subgraph_idx) |
void |
ReportOpInvokeEvent(String op_name,
long elapsed_time,
long op_idx,
long subgraph_idx) |
void |
ReportSettings(BytePointer setting_name,
TfLiteTelemetrySettings settings) |
void |
ReportSettings(String setting_name,
TfLiteTelemetrySettings settings) |
void |
ReportTelemetryEvent(BytePointer event_name,
TelemetryStatusCode status) |
void |
ReportTelemetryEvent(String event_name,
TelemetryStatusCode status) |
void |
ReportTelemetryOpEvent(BytePointer event_name,
long op_idx,
long subgraph_idx,
TelemetryStatusCode status) |
void |
ReportTelemetryOpEvent(String event_name,
long op_idx,
long subgraph_idx,
TelemetryStatusCode status) |
AddEvent, AddEvent, AddEvent, AddEvent, AddEventWithData, AddEventWithData, BeginEvent, BeginEvent, BeginEvent, BeginEvent, EndEvent, EndEvent
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 TelemetryProfiler(Pointer p)
Pointer(Pointer)
.public void ReportTelemetryEvent(@Cast(value="const char*") BytePointer event_name, @ByVal TelemetryStatusCode status)
public void ReportTelemetryEvent(String event_name, @ByVal TelemetryStatusCode status)
public void ReportTelemetryOpEvent(@Cast(value="const char*") BytePointer event_name, @Cast(value="int64_t") long op_idx, @Cast(value="int64_t") long subgraph_idx, @ByVal TelemetryStatusCode status)
public void ReportTelemetryOpEvent(String event_name, @Cast(value="int64_t") long op_idx, @Cast(value="int64_t") long subgraph_idx, @ByVal TelemetryStatusCode status)
public void ReportSettings(@Cast(value="const char*") BytePointer setting_name, @Const TfLiteTelemetrySettings settings)
public void ReportSettings(String setting_name, @Const TfLiteTelemetrySettings settings)
@Cast(value="uint32_t") public int ReportBeginOpInvokeEvent(@Cast(value="const char*") BytePointer op_name, @Cast(value="int64_t") long op_idx, @Cast(value="int64_t") long subgraph_idx)
@Cast(value="uint32_t") public int ReportBeginOpInvokeEvent(String op_name, @Cast(value="int64_t") long op_idx, @Cast(value="int64_t") long subgraph_idx)
public void ReportOpInvokeEvent(@Cast(value="const char*") BytePointer op_name, @Cast(value="uint64_t") long elapsed_time, @Cast(value="int64_t") long op_idx, @Cast(value="int64_t") long subgraph_idx)
Copyright © 2025. All rights reserved.