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
Computer GraphicsUniversity of California, San Diego via edX Intro to Parallel Programming
Nvidia via Udacity Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera