Article View: pl.comp.lang.asm
Article #2464Re: Skąd dokładny zegar w C pod Win XP/7 ?
From: Borneq
Date: Sun, 08 May 2011 22:13
Date: Sun, 08 May 2011 22:13
9 lines
1273 bytes
1273 bytes
W dniu 2011-05-09 00:09, Borneq pisze:
> dw 310Fh // rdtsc
Kod wzięty z programu w Pascalu, który miał działać na bardzo starych
kompilatorach, gdzie nie było rdtsc, w nowym C powinna być ta instrukcja
n: liczba 64 bitowa
rdtsc
mov nn, eax
mov nn[4], edx
Technical Details
Message-ID:
<iq74gu$pud$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mailReferences:
<iq71hq$q7r$1@inews.gazeta.pl> <iq74b6$p7q$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.asm Subject: Re: Skąd dokładny zegar w C pod Win XP/7 ? Date: Mon, 09 May 2011 00:13:03 +0200 Organization: http://onet.pl Lines: 9 Message-ID: <iq74gu$pud$1@news.onet.pl> References: <iq71hq$q7r$1@inews.gazeta.pl> <iq74b6$p7q$1@news.onet.pl> NNTP-Posting-Host: 194.117.241.254 Mime-Version: 1.0 X-Trace: news.onet.pl 1304892766 26573 194.117.241.254 (8 May 2011 22:12:46 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Sun, 8 May 2011 22:12:46 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <iq74b6$p7q$1@news.onet.pl> X-Antivirus: avast! (VPS 110508-1, 2011-05-08), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit