🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #1499

Re: Pomiar cykli procesora

#1499
From: Wojciech Muła
Date: Sun, 23 Sep 2007 11:26
13 lines
1247 bytes
Ryouk wrote:
> Wg manuala i opinii jednego asemblerowca te movy to jakieĹ› 2 cykle,

2 cykle **maszynowe**.

> a mój program daje wynik około 44 cykli. Na komputerze znajomego
> wynik to 35.

RDTSC czyta licznik cykli **zegarowych** -- na cykl maszynowy
przypada kilka-kilkanaście cykli zegarowych.  Żeby zmierzyć
liczbę cykli maszynowych musiałbyś czytać inne MSR-y.

w.
Technical Details
Message-ID: <slrnffcj10.2l5.wojciech_mula@cat.tac>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <fd5e92$cbh$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Wojciech Muła
 <wojciech_mula@poczta.null.onet.pl.invalid>
Newsgroups: pl.comp.lang.asm
Subject: Re: Pomiar cykli procesora
Date: Sun, 23 Sep 2007 11:26:23 +0000 (UTC)
Organization: http://www.mula.w.pl
Lines: 13
Message-ID: <slrnffcj10.2l5.wojciech_mula@cat.tac>
References: <fd5e92$cbh$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: bqz60.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1190546783 23759 83.29.93.60 (23 Sep 2007 11:26:23 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 23 Sep 2007 11:26:23 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit