Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2007
Mesuring execution time


Message 1 in thread

Hi all,

I am quite sure that in the distant past, I used a QT class to measure
execution time something used with start(), stop()  value() or something
like that. It is NOT QTimer which is used for another purpose.
I have looked in vain in the doc and in the archive but I can't find it.
Which class is it ?

TIA

Alain

--
 [ signature omitted ] 

Message 2 in thread

On 11/3/07, denebet <denebet@xxxxxxxxxxxx> wrote:
> Hi all,
>
> I am quite sure that in the distant past, I used a QT class to measure
> execution time something used with start(), stop()  value() or something
> like that. It is NOT QTimer which is used for another purpose.
> I have looked in vain in the doc and in the archive but I can't find it.
> Which class is it ?

QTime can do that sort of thing (see methods `start', `stop', and `elapsed').

-- 
 [ signature omitted ] 

Message 3 in thread

Andrew Medico wrote:

> 
> QTime can do that sort of thing (see methods `start', `stop', and
> `elapsed').

Thanks, this is the class I was looking for.

Alain
> 

--
 [ signature omitted ]