Skip to content

snagdy/low_latency_cpp_patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low Latency CPP Patterns

A C++ repo for low latency CPP patterns - currently only has the single_consumer_single_producer pattern for simulating MMIO event handling from FPGAs and DMA reads.

Setup

This project uses Bazel for building and managing dependencies. It has an included Dockerfile for a devcontainer workflow.

Prerequisites

  • Bazel
  • C++ compiler
  • Protocol Buffers

Building

Currently, you do this from within the devcontainer. A task has been defined to do this also.

bazel build //src:single_producer_single_consumer

Running

Just start it via the following bazel command.

bazel run //src:single_producer_single_consumer

Future Enhancements

  • Add more patterns, like multi-producer multi-consumer
  • Add more optimisation variations to experiment
  • Add profiling analysis

License

This project is licensed under the MIT License - see the LICENSE file for detials.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published