exec-trace

Analyze per-function timing and energy from LOCI hardware traces.

1|Updated May 19, 2026
One-click install
npx skills add https://github.com/auroralabs-loci/loci-claude --skill exec-trace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exec-trace
Source: https://github.com/auroralabs-loci/loci-claude/tree/main/skills/exec-trace
Command: npx skills add https://github.com/auroralabs-loci/loci-claude --skill exec-trace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes per-function execution timing and energy from compiled assembly using LOCI hardware traces, enabling precise performance and power debugging.

Core Features & Use Cases

  • Function timing: determine per-function execution time and energy consumption from real traces.
  • Assembly-level insight: map timing to blocks and CFG for hot paths.
  • Use Case: optimize a critical firmware function by identifying energy hotspots and timing bottlenecks.

Quick Start

Run the exec-trace skill to obtain timing and energy estimates for a specific function from a compiled binary.

Frequently Asked Questions about exec-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure execution timing and energy consumption for a specific function in compiled assembly?

You can measure execution timing and energy consumption by analyzing compiled assembly from compiled binaries or ELF objects using LOCI hardware traces, which returns microsecond timing, watt-seconds energy, and annotated CFG data.

Can I identify energy hotspots and timing bottlenecks in firmware using hardware traces?

Yes, identifying energy hotspots and timing bottlenecks in firmware is achieved by applying hardware traces to compiled assembly, mapping execution time and energy data to control flow graph blocks to highlight critical hot paths.

What do I need to provide to analyze per-function execution time from an ELF object?

To analyze per-function execution time from an ELF object, you need to provide the compiled binary or existing ELF object and specify the target function or set of callees to receive microsecond timing and annotated CFG context.

How does mapping timing to control flow graph blocks help optimize performance?

Mapping timing to control flow graph blocks helps optimize performance by pinpointing exact assembly-level execution paths and energy hotspots, allowing precise targeting of timing bottlenecks within the analyzed function's structure.

Does this assembly-level timing analysis provide architecture and error-handling guidance?

Yes, assembly-level timing analysis provides architecture and error-handling guidance alongside microsecond timing and energy estimates, ensuring proper interpretation of the hardware trace data and annotated CFG results.