[flext] CPU usage problem

Patrick Gampp Patrick.Gampp at posteo.de
Wed Jun 24 10:08:13 UTC 2015


Hi Thomas,
it's the link https://github.com/grrrr/flext/archive/master.zip from 
http://grrrr.org/research/software/flext/

Patrick

Am 24.06.2015 um 11:43 schrieb Thomas Grill:
> Hi Patrick,
> is this with the current git code? Which branch?
> If you are on github, i would appreciate if you could file an issue.
> gr~~~
>
>> Am 24.06.2015 um 11:39 schrieb Patrick Gampp <Patrick.Gampp at posteo.de>:
>>
>> Hi,
>> I try to rebuild flext with MSVC 2012. I selected PD Debug and get the following error when compiling fltimer.cpp. Does anyone know, what the problem is here?
>>
>> It also says at source\fltimer.cpp(51) "Error: Class "TimerVars" may
>> not have a template argument list.
>>
>> Cheers, Patrick
>>
>>
>> 1>  fltimer.cpp
>> 1>source\fltimer.cpp(51): error C2143: syntax error : missing ';' before '<'
>> 1>source\fltimer.cpp(51): error C2039: 'perffrq' : is not a member of '`global namespace''
>> 1>source\fltimer.cpp(64): error C2065: 'perffrq' : undeclared identifier
>> 1>source\fltimer.cpp(65): error C2275: 'TimerVars' : illegal use of this type as an expression
>> 1>          source\fltimer.cpp(34) : see declaration of 'TimerVars'
>> 1>source\fltimer.cpp(65): error C2059: syntax error : '>'
>> 1>source\fltimer.cpp(65): error C2039: 'perffrq' : is not a member of '`global namespace''
>> 1>source\fltimer.cpp(109): error C2065: 'perffrq' : undeclared identifier
>> 1>source\fltimer.cpp(110): error C2065: 'perffrq' : undeclared identifier
>> 1>  flutil.cpp
>> 1>  fldsp.cpp
>> 1>  Generating Code...
>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>>
>>
>>
>> Am 23.06.2015 um 16:35 schrieb Patrick Gampp:
>>> 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
>>>>
>>>
>>> _______________________________________________
>>> http://grrrr.org/ext/flext
>>>
>>> flext mailing list
>>> flext at grrrr.org
>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>
>> _______________________________________________
>> 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