* timestamps
@ 2003-05-26 14:45 Joachim Reichelt
0 siblings, 0 replies; 3+ messages in thread
From: Joachim Reichelt @ 2003-05-26 14:45 UTC (permalink / raw)
To: reiserfs-list
Dear all,
is there any way in Linux to get the time of the creation of a file or
better
can i get:
creation time (is NOT in stat)
modification time ( is in stat m_time)
access time ( is in stat a_time)
c_time in stat changes, whenever a_time or m_time or ... changes, so
useless here.
--
Mit freundlichen Gruessen Best Regards
Joachim Reichelt
SB - Strukturbiologie
GBF - Gesellschaft fuer Biotechnologische Forschung
German Research Centre for Biotechnology
WWW: http://www.gbf.de _/_/_/ _/_/_/ _/_/_/_/
EMAIL: REICHELT@gbf.de _/ _/ _/ _/ _/
_/ _/ _/ _/
Mascheroder Weg 1 _/ _/ _/_/_/ _/_/_/
D-38124 Braunschweig _/ _/ _/ _/ _/
Tel: +(49) 531 6181 352 _/ _/ _/ _/ _/
FAX: +(49) 531 2612 388 _/_/_/ _/_/_/ _/
http://struktur.gbf.de/
-- Disclaimer --
Standard > Keyword : Opinions, my own, nobody else's, whatsoever ...
Man muss sich notfalls jemand mieten,
hat man an Geist selbst nichts zu bieten! (Heinz Erhardt)
^ permalink raw reply [flat|nested] 3+ messages in thread
* timestamps
@ 2010-04-21 11:00 Jonas Holmberg
2010-05-04 18:22 ` timestamps Kai Vehmanen
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Holmberg @ 2010-04-21 11:00 UTC (permalink / raw)
To: alsa-devel
How can I get the CLOCK_MONOTONIC timestamp for the first sample in the
data I get from snd_pcm_readi()?
/Jonas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: timestamps
2010-04-21 11:00 timestamps Jonas Holmberg
@ 2010-05-04 18:22 ` Kai Vehmanen
0 siblings, 0 replies; 3+ messages in thread
From: Kai Vehmanen @ 2010-05-04 18:22 UTC (permalink / raw)
To: Jonas Holmberg; +Cc: alsa-devel
Hi,
On Wed, 21 Apr 2010, Jonas Holmberg wrote:
> How can I get the CLOCK_MONOTONIC timestamp for the first sample in the
> data I get from snd_pcm_readi()?
before reading the data, take the current timestamp (with clock_gettime)
and subtract snd_pcm_delay() for the stream (see the API docs for
snd_pcm_delay() for more details).
The accuracy of the returned value depends on the driver/hw's ability to
report accurate delay values.
PS Alternate strategy is to use SND_PCM_TSTAMP_MMAP mode, in which
you can query (with snd_pcm_htimestamp()) the timestamp of
last period elapsed event. See the alsa-lib PCM API docs for
details. With certain drivers/hw, this is the only way to get
accurate estimates for delay.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-04 18:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-26 14:45 timestamps Joachim Reichelt
-- strict thread matches above, loose matches on Subject: below --
2010-04-21 11:00 timestamps Jonas Holmberg
2010-05-04 18:22 ` timestamps Kai Vehmanen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.