[flext] CPU usage problem
Thomas Grill
gr at grrrr.org
Wed Jun 24 09:43:01 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://grrrr.org/pipermail/flext/attachments/20150624/5142487b/attachment.sig>
More information about the flext
mailing list