Index

B C D E G I L M N R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

B

beginLoop() - Static method in class com.aembot.lib.tracing.Tracer
Begin a new trace loop.
beginSpan(String) - Static method in class com.aembot.lib.tracing.Tracer
Begin a trace span for a function call.
beginSpan(String, byte) - Static method in class com.aembot.lib.tracing.Tracer
Begin a trace span with a pre-resolved category index.
beginSpan(String, String) - Static method in class com.aembot.lib.tracing.Tracer
Begin a trace span for a function call with a category.

C

category() - Element in annotation interface com.aembot.lib.tracing.Traced
Optional category/subsystem for grouping traces.
categoryIndex - Variable in class com.aembot.lib.tracing.TraceSpan
Category index into Tracer.getCategories()
close() - Method in class com.aembot.lib.tracing.TraceScope
 
com.aembot.lib.tracing - package com.aembot.lib.tracing
 
COMMAND_CATEGORY - Static variable in class com.aembot.lib.tracing.CommandTracingInterceptor
Category used for all Command traces
CommandTracingInterceptor - Class in com.aembot.lib.tracing
ByteBuddy interceptor that wraps WPILib Command lifecycle methods with tracing.
CommandTracingInterceptor() - Constructor for class com.aembot.lib.tracing.CommandTracingInterceptor
 
complete - Variable in class com.aembot.lib.tracing.TraceSpan
Whether this span has completed (endSpan was called)

D

DEFAULT_CATEGORY - Static variable in class com.aembot.lib.tracing.Tracer
Default category used when none is specified
depth - Variable in class com.aembot.lib.tracing.TraceSpan
Nesting depth (0 = top level, increases with nested calls)

E

endLoop() - Static method in class com.aembot.lib.tracing.Tracer
End the current trace loop.
endNanos - Variable in class com.aembot.lib.tracing.TraceSpan
End time in nanoseconds
endSpan(int) - Static method in class com.aembot.lib.tracing.Tracer
End a trace span.
endTime - Variable in class com.aembot.lib.tracing.TraceLoop
FPGA timestamp when this loop ended
exportRecentToJson(TraceLoop[], int, int, List<String>, Map<Long, String>, String) - Static method in class com.aembot.lib.tracing.TraceExporter
Export the most recent N loops to Chrome Tracing JSON format.
exportRecentToJson(String, int) - Static method in class com.aembot.lib.tracing.Tracer
Export the most recent N loops to Chrome Tracing JSON format.
exportToJson(TraceLoop[], int, int, List<String>, Map<Long, String>, String) - Static method in class com.aembot.lib.tracing.TraceExporter
Export all loops in the buffer to Chrome Tracing JSON format.
exportToJson(String) - Static method in class com.aembot.lib.tracing.Tracer
Export traces to Chrome Tracing JSON format.

G

getBufferSize() - Static method in class com.aembot.lib.tracing.Tracer
Get the buffer size
getCategories() - Static method in class com.aembot.lib.tracing.Tracer
Get the category list (for export)
getCategoryIndex(String) - Static method in class com.aembot.lib.tracing.Tracer
Get or register a category index.
getCurrentLoop() - Static method in class com.aembot.lib.tracing.Tracer
Get the current loop being written to
getDurationMicros() - Method in class com.aembot.lib.tracing.TraceSpan
Get duration in microseconds
getDurationMillis() - Method in class com.aembot.lib.tracing.TraceLoop
Get total loop duration in milliseconds
getDurationMillis() - Method in class com.aembot.lib.tracing.TraceSpan
Get duration in milliseconds
getLoopIndex() - Static method in class com.aembot.lib.tracing.Tracer
Get the current loop index in the circular buffer
getLoops() - Static method in class com.aembot.lib.tracing.Tracer
Get all loops in the buffer
getThreadNames() - Static method in class com.aembot.lib.tracing.Tracer
Get the thread name cache (for export)
getTotalLoopCount() - Static method in class com.aembot.lib.tracing.Tracer
Get total number of loops recorded

I

install() - Static method in class com.aembot.lib.tracing.TracingBootstrap
Install the ByteBuddy agent and register the @Traced transformer.
installCommandTracing() - Static method in class com.aembot.lib.tracing.TracingBootstrap
Install automatic tracing for WPILib Command lifecycle methods.
intercept(Method, Callable<?>, Object) - Static method in class com.aembot.lib.tracing.CommandTracingInterceptor
Intercepts Command lifecycle method calls, wrapping them with tracing.
intercept(Method, Callable<?>, Object) - Static method in class com.aembot.lib.tracing.TracingInterceptor
Intercepts a @Traced method call, wrapping it with tracing.
isCommandTracingInstalled() - Static method in class com.aembot.lib.tracing.TracingBootstrap
Check if Command tracing was successfully installed
isEnabled() - Static method in class com.aembot.lib.tracing.Tracer
Check if tracing is enabled
isInstalled() - Static method in class com.aembot.lib.tracing.TracingBootstrap
Check if the tracing instrumentation was successfully installed

L

loopNumber - Variable in class com.aembot.lib.tracing.TraceLoop
Loop number (incrementing counter)

M

MAX_SPANS - Static variable in class com.aembot.lib.tracing.TraceLoop
Maximum number of spans per loop (256 to accommodate command tracing)

N

name - Variable in class com.aembot.lib.tracing.TraceSpan
Name of the traced function (ClassName.methodName or custom)

R

reset() - Method in class com.aembot.lib.tracing.TraceLoop
Reset this loop for reuse
reset() - Method in class com.aembot.lib.tracing.TraceSpan
Reset this span for reuse

S

setEnabled(boolean) - Static method in class com.aembot.lib.tracing.Tracer
Enable or disable tracing.
spanCount - Variable in class com.aembot.lib.tracing.TraceLoop
Current number of active spans in this loop
spans - Variable in class com.aembot.lib.tracing.TraceLoop
Pre-allocated array of spans
startNanos - Variable in class com.aembot.lib.tracing.TraceLoop
System.nanoTime() when this loop started (for computing span FPGA times)
startNanos - Variable in class com.aembot.lib.tracing.TraceSpan
Start time in nanoseconds (System.nanoTime) for high precision duration
startTime - Variable in class com.aembot.lib.tracing.TraceLoop
FPGA timestamp when this loop started

T

threadId - Variable in class com.aembot.lib.tracing.TraceSpan
Thread ID that this span ran on
trace(String) - Static method in class com.aembot.lib.tracing.Tracer
Create a trace scope for a function.
trace(String, String) - Static method in class com.aembot.lib.tracing.Tracer
Create a trace scope for a function with a category.
Traced - Annotation Interface in com.aembot.lib.tracing
Annotation to mark methods for automatic tracing.
TraceExporter - Class in com.aembot.lib.tracing
Exports trace data to Chrome Tracing JSON format.
TraceLoop - Class in com.aembot.lib.tracing
Container for all trace spans within a single robot loop iteration.
TraceLoop() - Constructor for class com.aembot.lib.tracing.TraceLoop
Create a new loop with pre-allocated spans
Tracer - Class in com.aembot.lib.tracing
Lightweight tracing system for measuring function execution times.
TraceScope - Class in com.aembot.lib.tracing
AutoCloseable wrapper for trace spans, enabling try-with-resources usage.
TraceSpan - Class in com.aembot.lib.tracing
Represents a single traced span (function call) with timing information.
TraceSpan() - Constructor for class com.aembot.lib.tracing.TraceSpan
 
TracingBootstrap - Class in com.aembot.lib.tracing
Bootstraps the @Traced annotation system using ByteBuddy.
TracingInterceptor - Class in com.aembot.lib.tracing
ByteBuddy interceptor that wraps @Traced methods with timing code.
TracingInterceptor() - Constructor for class com.aembot.lib.tracing.TracingInterceptor
 

V

value() - Element in annotation interface com.aembot.lib.tracing.Traced
Optional custom name for the trace.
B C D E G I L M N R S T V 
All Classes and Interfaces|All Packages|Constant Field Values