From: Alexey Morozov <morozov@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [#43876] FAILED srpm=fglrx_glx-8.84.1-alt1.src.rpm
Date: Mon, 2 May 2011 23:28:34 +0700
Message-ID: <201105022328.34357.morozov@altlinux.org> (raw)
In-Reply-To: <BANLkTi=n1FhDYc95nZ_nGh=a4Kx7bVCKig@mail.gmail.com>
В сообщении от 2 мая 2011 20:08:50 автор Aleksey Novodvorsky написал:
> >
> > В 32-битной версии библиотеки есть ссылка на несуществующий метод
> > Utility::QueryPerformanceFrequency().
>
> Гугль говорит, что это крайне сложно портировать с Windows. Вот они и
> ниасилили.
У нас есть микросекундный таймер в системе (gettimeofday()), и все эти не
слишком надёжные* способы с QueryPerformanceCounter/QueryPerformanceFrequency
оказываются не очень нужны. "Проверено на себе"™.
То есть, я предложил бы перенести задачу портирования на уровень выше, и
вместо замеров частоты и каунтера мерить сразу время. Если Илья выложит куда-
нибудь пакет (а стадион кричал: на git.alt! на git.alt!) я могу попробовать
глянуть на то, как это можно поправить - я ниасилил скачать драйвер именно
версии 8.84.
* не очень надёжны, т.к. частота эта зависит от тиков процессора, которые, как
известно, могут изменяться, и с AppLevel'а двумя точечными замерами об этом не
догадаешься.
next prev parent reply other threads:[~2011-05-02 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 3:31 ` Dmitry V. Levin
2011-05-02 6:04 ` [devel] [JT] " Alexey Morozov
2011-05-02 13:08 ` [devel] " Aleksey Novodvorsky
2011-05-02 16:28 ` Alexey Morozov [this message]
2011-05-02 19:27 ` Ilya Mashkin
2011-05-03 22:31 ` Ilya Mashkin
2011-05-04 3:05 ` Alexey Morozov
2011-05-04 20:06 ` Ilya Mashkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201105022328.34357.morozov@altlinux.org \
--to=morozov@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git