[flext] CPU usage problem

Patrick Gampp Patrick.Gampp at posteo.de
Tue Jun 23 14:35:51 UTC 2015


Hi,
I build my external in non-multi-threaded mode using flext-pd_s.lib and 
undefining FLEXT_THREADS. But as you predicted Thomas this does not 
affect CPU usage.

Patrick



Am 23.06.2015 um 14:33 schrieb Thomas Grill:
> Hi,
> flext has some background threads running if the code is build in multi-threaded mode. The load should be negligable since the threads are mostly waiting.
> Without looking at the code, it’s impossible to judge.
> gr~~~
>
>> Am 23.06.2015 um 14:30 schrieb Patrick Gampp <Patrick.Gampp at posteo.de>:
>>
>> Hi all,
>> I build two flext Pd external based on the same source code.
>>
>> External1:
>> - built with Visual Studio 2012
>> - includes static flext lib built from recent flext code
>> - Computer CPU usage: 0% (DSP is off in PD)
>>
>> External2:
>> - built with Visual Studio 2010
>> - includes static flext lib based on 3 or more years old flext code
>> - Computer CPU usage: 12% (DSP is off in PD)
>>
>> It's surprising that ext.2 leads to increased CPU usage even though the m_signal function is not entered.
>>
>> Can someone give a hint, what could cause the different CPU usages?
>>
>> Cheers,
>> Patrick
>>
>>
>>
>> _______________________________________________
>> http://grrrr.org/ext/flext
>>
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>



More information about the flext mailing list