[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Extended profile info

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 30 Aug 2012 22:09:03 +0200

On 30.08.2012 22:04, Oto BREZINA wrote:
> On 2012-08-29 20:29, Stefan Küng wrote:
>> On 29.08.2012 07:00, Oto BREZINA wrote:
>>> On 2012-08-28 20:44, Stefan Küng wrote:
>>>> On 28.08.2012 14:37, Oto BREZINA wrote:
>>>>> Here is conceptual patch - may need some tweaks and fix - with extended
>>>>> Profile info. It adds User, Kernel and Wall time to report.
>>>>> User and Kernel Time are multiplied by threads. Windows returns their
>>>>> count is in 100ns units, but step may be quite bigger. Usualy I use this
>>>>> three vaules to determine efficiency.
>>>>>
>>>>> Pls review it and comment.
>>>>>
>>>> Looks good. But there's a small issue with the PROFILE_RUNTIMES define:
>>>>
>>>> if it's defined, all is well. But if it's not, you're still writing the
>>>> data to the file.
>>> Would you like to keep that switch ?
>> Not really, no. Unless the additional profiling slows down too much?
> It needs 4300 instead of 300 CPU tick for repeated entry, and 36400
> instead of 33400 for first block enter ...
> Is it too slow ?

No, I think in that case just have it enabled unconditionally.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3002273
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-30 22:09:10 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.