gettimeofday appears to take about 8 microseconds on average. The "ts" here is a walltime nanosecond counter (though I think the precision is microseconds, not nanos since the last 3 numbers are always zero).
Notably, I'm not broadcasting at all and EngineNetworkStream is still doing this work.
gettimeofday appears to take about 8 microseconds on average. The "ts" here is a walltime nanosecond counter (though I think the precision is microseconds, not nanos since the last 3 numbers are always zero).
Notably, I'm not broadcasting at all and EngineNetworkStream is still doing this work.
0 383 gettimeofday:return (tid 1488971) ts:148116165640 5619000 gettimeofday
libsystem_ kernel. dylib`_ _gettimeofday+ 0xa
mixxx`EngineNet workStream: :getWriteExpect ed()+0x17
mixxx`SoundDevi ceNetwork: :writeProcess( )+0xd4
mixxx`SoundMana ger::writeProce ss()+0xb9
mixxx`SoundDevi cePortAudio: :callbackProces sClkRef( unsigned int, float*, float const*, PaStreamCallbac kTimeInfo const*, unsigned long)+0x751
mixxx`( anonymous namespace) ::paV19Callback ClkRef( void const*, void*, unsigned long, PaStreamCallbac kTimeInfo const*, unsigned long, void*)+0x23
libportaudio. 2.dylib` AdaptingOutputO nlyProcess+ 0xe7
libportaudio. 2.dylib` PaUtil_ EndBufferProces sing+0x1c4
libportaudio. 2.dylib` AudioIOProc+ 0x392
CoreAudio` AUConverterBase ::RenderBus( unsigned int&, AudioTimeStamp const&, unsigned int, unsigned int)+0x2c5
CoreAudio` AUBase: :DoRenderBus( unsigned int&, AudioTimeStamp const&, unsigned int, AUOutputElement*, unsigned int, AudioBufferList &)+0x9a
CoreAudio` AUBase: :DoRender( unsigned int&, AudioTimeStamp const&, unsigned int, unsigned int, AudioBufferList &)+0x1f8
CoreAudio` AUHAL:: AUIOProc( unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*)+0x6f2
CoreAudio` HALC_ProxyIOCon text::IOWorkLoo p()+0x9e7
CoreAudio` HALC_ProxyIOCon text::IOThreadE ntry(void* )+0x58
CoreAudio` HALB_IOThread: :Entry( void*)+ 0x4b
libsystem_ pthread. dylib`_ pthread_ body+0x83
libsystem_ pthread. dylib`_ pthread_ body
libsystem_ pthread. dylib`thread_ start+0xd
0 382 gettimeofday:entry (tid 1488971) ts:148116165640 7042000 gettimeofday
libsystem_ kernel. dylib`_ _gettimeofday+ 0xa
mixxx`EngineNet workStream: :getWriteExpect ed()+0x17
mixxx`SoundDevi ceNetwork: :writeProcess( )+0xd4
mixxx`SoundMana ger::writeProce ss()+0xb9
mixxx`SoundDevi cePortAudio: :callbackProces sClkRef( unsigned int, float*, float const*, PaStreamCallbac kTimeInfo const*, unsigned long)+0x751
mixxx`( anonymous namespace) ::paV19Callback ClkRef( void const*, void*, unsigned long, PaStreamCallbac kTimeInfo const*, unsigned long, void*)+0x23
libportaudio. 2.dylib` AdaptingOutputO nlyProcess+ 0xe7
libportaudio. 2.dylib` PaUtil_ EndBufferProces sing+0x1c4
libportaudio. 2.dylib` AudioIOProc+ 0x392
CoreAudio` AUConverterBase ::RenderBus( unsigned int&, AudioTimeStamp const&, unsigned int, unsigned int)+0x2c5
CoreAudio` AUBase: :DoRenderBus( unsigned int&, AudioTimeStamp const&, unsigned int, AUOutputElement*, unsigned int, AudioBufferList &)+0x9a
CoreAudio` AUBase: :DoRender( unsigned int&, AudioTimeStamp const&, unsigned int, unsigned int, AudioBufferList &)+0x1f8
CoreAudio` AUHAL:: AUIOProc( unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*)+0x6f2
CoreAudio` HALC_ProxyIOCon text::IOWorkLoo p()+0x9e7
CoreAudio` HALC_ProxyIOCon text::IOThreadE ntry(void* )+0x58
CoreAudio` HALB_IOThread: :Entry( void*)+ 0x4b
libsystem_ pthread. dylib`_ pthread_ body+0x83
libsystem_ pthread. dylib`_ pthread_ body
libsystem_ pthread. dylib`thread_ start+0xd