Taming Real-Time Logging: Lessons Learned From the Trenches
Offered By: ADC - Audio Developer Conference via YouTube
Course Description
Overview
Explore real-time logging techniques for audio programming in this 19-minute conference talk from ADCx SF. Learn how to create a lock-free, allocation-free, and wait-free logger that allows the use of printf/cout/spdlog in rendering threads. Discover practical insights into designing and implementing a real-time logger while avoiding time-unbounded pitfalls. Gain valuable knowledge from Chris Apple's experience in immersive audio development at companies like Spatial Inc., Dolby, and Roblox. Delve into topics such as lock-free queues, logging data, character buffers, real-time safety, variadic templates, and atomic sequence numbers. Access the accompanying slides and GitHub repository for a comprehensive understanding of taming real-time logging in audio programming.
Syllabus
Intro
Why do we need a realtime logger
The most simple realtime logger
System calls allocations mutexes
RealTime Logging
LockFree Queue
Logging Data
Logging Thread
Disadvantages
Character Buffer
Are We Done
Whats Wrong
RealTime Safety
System Calls
Embedded Systems Engineers
STB
Is VAargs RealTime Safe
How VAargs Works
The Real Answer
Variatic Templates
Printf
Example
Atomic Sequence Number
Implementation Summary
GitHub repository
Summary
Vargs
Questions
Taught by
ADC - Audio Developer Conference
Related Courses
Embedded Systems - Shape The World: Microcontroller Input/OutputThe University of Texas at Austin via edX Model Checking
Chennai Mathematical Institute via Swayam Introduction to the Internet of Things and Embedded Systems
University of California, Irvine via Coursera Sistemas embebidos: Aplicaciones con Arduino
Universidad Nacional Autónoma de México via Coursera Quantitative Formal Modeling and Worst-Case Performance Analysis
EIT Digital via Coursera