• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: diagnostic logging for use in audio threads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diagnostic logging for use in audio threads?


  • Subject: Re: diagnostic logging for use in audio threads?
  • From: Jeff Moore <email@hidden>
  • Date: Sun, 13 Apr 2003 00:27:30 -0700

When I'm doing performance sensitive logging, I will write all the data to a ring buffer from the IO thread and use another low priority work thread to flush the ring buffer to a file on the disk. Works like a charm.

On Saturday, April 12, 2003, at 07:07 PM, Kurt Bigler wrote:

Are there any C/C++ compatible text logging functions out there that are appropriate for use in an IOProc thread?

Searching the archives only led me to NSLog (or something like that) which is an ObjC solution.

Of course, a memory-only logging solution would probably be ideal, but I am not expecting that anything like that exists (but would love to be proven wrong). An ideal solution I think would log to memory in a multi-thread-safe way, with the help of a utility app that could be used to read the log.

Are people using file-based logging in their io threads? If so do the logging calls tend to badly cripple the performance of things, interfering with the process that is being diagnosed?

Thanks,
Kurt Bigler
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.



--

Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: diagnostic logging for use in audio threads?
      • From: Herbie Robinson <email@hidden>
References: 
 >diagnostic logging for use in audio threads? (From: Kurt Bigler <email@hidden>)

  • Prev by Date: diagnostic logging for use in audio threads?
  • Next by Date: About Interface Builder
  • Previous by thread: diagnostic logging for use in audio threads?
  • Next by thread: Re: diagnostic logging for use in audio threads?
  • Index(es):
    • Date
    • Thread