[MBS] [ANN] 15.3pr4

2015-09-22 Thread Christian Schmitz
Hi,

* Changed DarwinResourceUsageMBS.SystemTimeUsed and 
DarwinResourceUsageMBS.UserTimeUsed to doubles.
* Added ShowDifferences function for DynaPDFMBS class.
* Added MimeEmailMBS.HTMLToPlainText function used to get plain text from 
html-only emails..
* Fixed bug in PHP plugin which caused crash with phpinfo function.
* Updated VLC to version 2.2.1. The new functions are 64-bit only.
* Fixed email parsing to also parse emails without mime parts.


Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] CPU use on OS X and Windows

2015-09-22 Thread Christian Schmitz

> Am 22.09.2015 um 17:36 schrieb Michael Diehr :
> 
>> I think DarwinResourceUsageMBS is for your app.
> 
> Hmm - testing the "Darwin Resource Usage" sample project however, I get "0" 
> for System Time used and UserTimeUsed, which doesn't seem very useful for 
> calculating real-time CPU usage.   Correction, after a while UserTimeUsed 
> rises to 1 and then 2, but it takes about a minute.  Should these perhaps be 
> doubles rather than integers?

Yes. Let me fix.


Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] CPU use on OS X and Windows

2015-09-22 Thread Michael Diehr
> I think DarwinResourceUsageMBS is for your app.

Hmm - testing the "Darwin Resource Usage" sample project however, I get "0" for 
System Time used and UserTimeUsed, which doesn't seem very useful for 
calculating real-time CPU usage.   Correction, after a while UserTimeUsed rises 
to 1 and then 2, but it takes about a minute.  Should these perhaps be doubles 
rather than integers?
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] CPU use on OS X and Windows

2015-09-22 Thread Christian Schmitz

> 
> For Cocoa, I see DarwinVMStatisticsMBS but I'm not clear if that's 
> per-process or global?

DarwinVMStatisticsMBS is global.
I think DarwinResourceUsageMBS is for your app.

> For Win32, should I use WindowsProcessStatisticsMBS?  Is it per-process or 
> global?

If you pass ProcessID it's for this process, I think.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] CPU use on OS X and Windows

2015-09-22 Thread Michael Diehr
Related question: How do i get the CPU usage, for the current process only, on 
Cocoa and Win32.

I'd like to get the same value that shows up in Activity Monitor's CPU% column, 
and for windows Task Manager.  I'm only interested in the CPU usage for the 
currently running process.

For Cocoa, I see DarwinVMStatisticsMBS but I'm not clear if that's per-process 
or global?

For Win32, should I use WindowsProcessStatisticsMBS?  Is it per-process or 
global?

Thanks



> On Sep 21, 2015, at 6:44 PM, Michael Diehr  wrote:
> 
> Perfect! thank you :-)
> 
>> On Sep 21, 2015, at 1:40 AM, Christian Schmitz 
>>  wrote:
>> 
>> 
>>> Am 21.09.2015 um 02:39 schrieb Michael Diehr :
>>> 
>>> See this thread:  
>>> http://stackoverflow.com/questions/10110658/programmatically-get-gpu-percent-usage-in-os-x
>>> 
>>> Is there anything in MBS which can do this (read the GPU's cpu %, used and 
>>> free Vram numbers)?
>>> 
>> 
>> See the "GPU Performance Statistics" project included with Examples.
>> 
>> Sincerely
>> Christian
>> 
>> -- 
>> Read our blog about news on our plugins:
>> 
>> http://www.mbsplugins.de/
>> 
>> ___
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> mbsplugins@monkeybreadsoftware.info
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> ___
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info