AEMTracer

A lightweight, high-performance tracing library for FRC robots.

API Documentation

Full Javadoc API reference for all public classes and methods.

View Javadoc

Test Results

Latest test results from the CI build.

View Test Results

Memory Usage

Latest memory statistics from CI:

    === TraceSpan Memory Estimate ===
    Raw span size: 43 bytes
    Aligned span size: 48 bytes
    Total spans: 64000
    Span memory: 3072000 bytes (3000 KB)
    Loop overhead: 12000 bytes
    Total buffer memory: 3084000 bytes (~2.94 MB)

TraceSpanTest > memorySize_documentCalculatedSpanSize() PASSED

TraceSpanTest > getDurationMillis_calculatesCorrectly() PASSED

Quick Start

Add to your build.gradle:

repositories {
  maven { url 'https://jitpack.io' }
}
dependencies {
  implementation 'com.github.WL-Richards:AEMTracer:1.0.0'
}

GitHub Repository | View Traces in Perfetto