🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.programmeren
Article #642

Re: clock() c++

#642
From: Duco Fijma
Date: Sun, 13 May 2001 20:50
16 lines
1560 bytes
TdC <no#tdc@lomag.net#spam> wrote in message
news:eqiL6.76139$ii.9609735@afrodite.telenet-ops.be...
> ik probeert uit te rekenen hoe lang iets duurt
> door voor ik eraan begin
>
> clock_t begin,einde;
> double duur;
> begin = clock();

Hou er rekening mee dat "clock()" iets zegt over de CPU tijd van een
process. Dat *kan* nuttige informatie zijn. Als je echter op zoek bent naar
een "real time" getal, kun je beter de functie time() en zijn vriendjes
gebruiken.

Duco
Technical Details
Message-ID: <9dms17$sqo$1@news1.xs4all.nl>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
References: <eqiL6.76139$ii.9609735@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,a047acd46d94d01f
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,a047acd46d94d01f
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-05-13 13:52:09 PST
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
From: "Duco Fijma" <duco@lorentz.xs4all.nl>
Newsgroups: nl.comp.programmeren,be.comp.programming
Subject: Re: clock() c++
Date: Sun, 13 May 2001 22:50:52 +0200
Organization: XS4ALL Internet BV
Lines: 18
Message-ID: <9dms17$sqo$1@news1.xs4all.nl>
References: <eqiL6.76139$ii.9609735@afrodite.telenet-ops.be>
NNTP-Posting-Host: lorentz.xs4all.nl
X-Trace: news1.xs4all.nl 989786983 29528 194.109.62.122 (13 May 2001 20:49:43 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 13 May 2001 20:49:43 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300