[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: sys/times.h and mingw
From:       David Faure <faure () kde ! org>
Date:       2006-05-26 13:28:06
Message-ID: 200605261528.06342.faure () kde ! org
[Download RAW message or body]

On Friday 26 May 2006 11:37, Thiago Macieira wrote:
> Paulo Jorge Guedes wrote:
> >It's not a typo, bigread.cpp calls times(). I don't know how much
> >times() is used across KDE though, and if we should worry with this for
> >Windows. A quick grep shows it's only used from bigread.cpp and
> >bigwrite.cpp so I guess we can #ifdef it.
> 
> Ok, now I understand what "bigread" means: it's probably throttling its 
> read behaviour so as to not clog the CPU. If it detects it's consuming 
> too much CPU time, it'll probably yield the processor.

The "probably" in there means you didn't read the code, right?

It's merely measuring the time spent in the load() method, there's definitely
no need to compile this test on Windows.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic