Skip to main content

Chronon

High-Performance Tick-Based Simulation Framework

Tick-Based Simulation

Define simulation units as simple state machines with a tick() method. Chronon handles scheduling, parallelization, and communication automatically.

Automatic Parallelization

Dependency-driven lookahead scheduling powered by stdexec. Achieve ~90+ Mcycles/sec with zero manual thread management.

Type-Safe Ports

Communicate between units with OutPort<T> and InPort<T>. Delay-based mode selection: inline (0-cycle) or SPSC queue (N-cycle).

YAML-Driven Configuration

Build simulations from YAML with the factory system. Use SimulationApp for a one-line entry point with full CLI support.

Built-in Observability

Macro-free API for counters, traces, and logs. Binary trace output with Perfetto/Chrome Trace visualization.

C++20 Modern Design

Built on sender/receiver (P2300), concepts, and compile-time string formatting. Single include: #include "chronon/Chronon.hpp".