Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Taming Real-Time Logging: Lessons Learned From the Trenches

ADC - Audio Developer Conference via YouTube

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

Reviews

Start your review of Taming Real-Time Logging: Lessons Learned From the Trenches

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.