🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #106

Re: Remove Spaces Function

#106
From: Yehia Ahmed
Date: Mon, 26 Jan 2004 20:35
19 lines
1568 bytes
well, this is definitely more  effective

"John Herbster (TeamB)" <herb-sci1_AT_sbcglobal.net> wrote in message
news:40156f3f@newsgroups.borland.com...
>
> "Yehia Ahmed" <yehiaeg@hotmail.com> wrote
>
> > ok, i'll use my watch
>
> You could also call the following function
>
> function GetCpuClockCycleCount: Int64;
> { Returns 64-bit count of CPU clock cycles. }
> asm
>     dw $310F  // opcode for RDTSC
> end;
>
> before and after calling your routine under test.
> It reads the CPU cycle counter .  Rgds, JohnH
Technical Details
Message-ID: <40157a26@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40153f7d@newsgroups.borland.com> <40155dd8@newsgroups.borland.com> <40155ec4$1@newsgroups.borland.com> <40156c1c@newsgroups.borland.com> <40156f3f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,8b4ceee2931b0643
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 12:40:37 PST
From: "Yehia Ahmed" <yehiaeg@hotmail.com>
Newsgroups: borland.public.delphi.language.objectpascal
References: <40153f7d@newsgroups.borland.com> <40155dd8@newsgroups.borland.com> <40155ec4$1@newsgroups.borland.com> <40156c1c@newsgroups.borland.com> <40156f3f@newsgroups.borland.com>
Subject: Re: Remove Spaces Function
Date: Mon, 26 Jan 2004 22:35:44 +0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 62.68.242.159
Message-ID: <40157a26@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075149350 62.68.242.159 (26 Jan 2004 12:35:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail