▲ | PhilipRoman 5 days ago | |||||||||||||
Log to a memory ring buffer (if you need extreme precision, prefetch everything and write binary fixed size "log entries"), flush asynchronously at some point when you don't care about timing anymore. Really helpful in kernel debugging. | ||||||||||||||
▲ | mrheosuper 5 days ago | parent [-] | |||||||||||||
Formatting log still takes considerable computing, especially when working on embedded system, where your cpu is only a few hundreds MHz. | ||||||||||||||
|