🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4044

how to measure time between 2 process?

#4044
From: mehmed sipahi
Date: Thu, 14 Apr 2005 08:52
11 lines
1148 bytes
Hi
Anybody knows how can i measure time between 2 process..
my code is;
 for(int i=0;i<100;i++)
{
    TDateTime d1=Now();
    DoJob();
    TDateTime d2=Now();
}

So HOw can i get the time "in miliseconds" between d1 and d2?
Technical Details
Message-ID: <425e2f68@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ed01e8258076a30a,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "mehmed sipahi" <furkan.atli@mobinex.com.tr>
From: "mehmed sipahi" <furkan.atli@mobinex.com.tr>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: how to measure time between 2 process?
Date: Thu, 14 Apr 2005 11:52:50 +0300
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 193.140.214.69
Message-ID: <425e2f68@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113468776 193.140.214.69 (14 Apr 2005 01:52:56 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail