0.1 ppm und besser

ie Systemzeit stabilisiert. Die exe greift dann auf den Systemtimer zu.

Die Exe _kann_ auf den Systemtimer zugreifen, wenn das System eine Zeit u

besorgen.

geht.

von 1 s.

n ntpdate -t 10 ptbtime1.ptb.de 16 Jul 14:07:40 ntpdate[1511]: step time server 192.53.103.108 offse t -28.158675 sec auf.

formatting link

aber okay.

--

Helmut Schellong snipped-for-privacy@schellong.biz

formatting link
formatting link
formatting link
formatting link
formatting link
.bish.html
formatting link
formatting link
formatting link
udio_unsinn.htm
formatting link
formatting link
formatting link
g.c.html
formatting link
formatting link
formatting link
rand.htm
formatting link

Reply to
Helmut Schellong
Loading thread data ...

sache SoundSpeed.exe funktioniert. - haha

et hat... Und das ist im Prinzip egal.

Folglich brauche ich kein laufendes Zeitsystem.

--

Helmut Schellong snipped-for-privacy@schellong.biz

formatting link
formatting link
formatting link
formatting link
formatting link
.bish.html
formatting link
formatting link
formatting link
udio_unsinn.htm
formatting link
formatting link
formatting link
g.c.html
formatting link
formatting link
formatting link
rand.htm
formatting link

Reply to
Helmut Schellong

Helmut Schellong:

Der NTP-Daemon macht aber mehr, als nur ab und zu die Zeit abfragen. Er korrigiert auch die Drift der Systemzeit.

--
Arno Welzel 
https://arnowelzel.de
Reply to
Arno Welzel

das ist. Hat

s

t kann

oder sogar besser.

?sung.

t bekannt.

rt.

denen ich je umging, eine solche Zeitnahme nicht arbeitete!

tzen gelesen, die

ten...

Auf Mikrokontrollern, ja, da habe ich mir oft eine eigene genauere Zeitna hme gestrickt. Beispielsweise 1 Tick pro ms in einem IRPT, Inkrement alle 64ms in einem 'long', etc.

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

ptsache SoundSpeed.exe funktioniert. - haha

artet hat...

e

ntpdate -t 10 ptbtime1.ptb.de

16 Jul 14:07:40 ntpdate[1511]: step time server 192.53.103.108 offset -28 .158675 sec

Das hatte ich bereits gepostet.

war. Ist mir schnuppe! Ich brauche genaue Zeitdauern!, keine ganz genaue (amtliche) Uhrzeit.

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

Siehe adjtimex(3) bzw. ntp_adjtime(3).

--
Stefan
Reply to
Stefan Wiens

Siehe adjtimex(2) bzw. ntp_adjtime(3).

--
Stefan
Reply to
Stefan Wiens

Helmut Schellong:

Darum ging es aber eben genau *nicht*.

--
Arno Welzel 
https://arnowelzel.de
Reply to
Arno Welzel

Helmut Schellong:

[...]

Nein, nur deine Aussage richtigstellen, dass "ein Betriebssystem" nicht

--
Arno Welzel 
https://arnowelzel.de
Reply to
Arno Welzel

Er

-28.158675 sec

en war.

Ich habe das Kommando seit etwa 3 Monaten nicht aufgerufen. Die RTC im PC ist nun mal per Quarz getaktet, per CR2032.

Nicht nur; welcher Privatmensch braucht denn die ganz genaue amtliche Uhr zeit?

Doch. Es ging um eine Soundkarte, die gar keine Uhrzeit anzeigt. Sicher geht es da um Zeitdauern, nicht um absolute Werte. Um die Differenzen zwischen jeweils zwei absoluten Werten.

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

cht bekannt.

?rt.

Kann es ja auch in aller aller Regel nicht!

mit denen ich

t

nahmen

Nenne mir einen solchen PC in Privathand konkret...

Von 100000 PCs vielleicht einer.

|Scope: |This specification provides register model and programming interface def initions for new event timer |hardware for use on Intel Architecture-based Personal Computers. In this specification, the terms ?IA-PC |HPET and ?Event Timers? refer to the same timer hardware . |The IA-PC HPET Specification defines timer hardware that is intended to initially supplement and |eventually replace the legacy 8254 Programmable Interval Timer and the R eal Time Clock Periodic |Interrupt generation functions that are currently used as the ?d e-facto? timer hardware for IA-PCs.

Synchronizing, Scheduling, Time Stamping:

Libs, man-Pages, ...

Das meinte ich oben mit 'herumkacken'.

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

Mit

formatting link
auf (?t klicken) schnell zu sehen. ...

Ich habe es gern auf

Reply to
Thomas Einzel

Hallo Rolf Bombach,

Du schriebst am Fri, 15 Jul 2022 20:37:30 +0200:

der eingestellte Wobbelfrequenzbereich ist? (Und wenn die Mittenfrequenz konstant bleibt, aber die "Auslenkung" im

Ergebnis...)

--


----------------------------------------------------------- 

-----------------------------------------------------------
Reply to
Sieghard Schicktanz

. Er

t -28.158675 sec

chen war.

Lokal bin ich aktuell 0,6 s voraus.

Uhrzeit?

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

Doch. Die 100Hz-Timerinterrupts sind nicht die einzigen Interrupts.

Hier. CONFIG_HZ_300=y, allerdings in Kombination mit CONFIG_NO_HZ_FULL, also

Diese neue Hardware ist seit vielen Jahren (seit 2005) Standard. Alles, was neuer als Windows XP ist, sollte HPET benutzen.

cu Michael

Reply to
Michael Schwingen

Und korrigiert die Kernel-Clock-Geschwindigkeit nicht (wie ein ntpd das mit

Dann hat man zwar eine halbwegs richtige Zeit, aber einmal die Woche

dem Mainboard und nicht NTP-genau.

cu Michael

Reply to
Michael Schwingen

ht

Und die anderen Interrupts sind wohl keine Timer-Interrupts.

, mit denen ich

cht

itnahmen

L, also

CO-Betriebssystemen. Es wird aber empfohlen, die 100 Hz stehen zu lassen.

definitions for new event timer

his specification, the terms ?IA-PC

are.

to initially supplement and

e Real Time Clock Periodic

de-facto? timer hardware for IA-PCs.

was

Ja, das gibt es (aktuell):

Event timer "LAPIC" quality 100 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: port 0x808-0x80b on acpi0

kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.HPET.mask: 4294967295 kern.timecounter.tc.HPET.counter: 3013495652 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.HPET.quality: 950

Unter meinem FreeBSD haben die Zeitdauer-Funktionen aus den Libs

iefern lassen;

ion gibt, die auf HPET aufsetzt?

HPET.

Eine explizite Analyse habe ich aber schon lange nicht mehr gemacht. Ich verwende u.a. setitimer() und getitimer(), die aber keine C-Funktione n sind.

--

Helmut Schellong   var@schellong.biz 
http://www.schellong.de/c.htm  http://www.schellong.de/c2x.htm  http://www.schellong.de/c_padding_bits.htm 
http://www.schellong.de/htm/bishmnk.htm  http://www.schellong.de/htm/rpar 
.bish.html  http://www.schellong.de/htm/sieger.bish.html 
http://www.schellong.de/htm/audio_proj.htm  http://www.schellong.de/htm/a 
udio_unsinn.htm  http://www.schellong.de/htm/tuner.htm 
http://www.schellong.de/htm/string.htm  http://www.schellong.de/htm/strin 
g.c.html  http://www.schellong.de/htm/deutsche_bahn.htm 
http://www.schellong.de/htm/schaltungen.htm  http://www.schellong.de/htm/ 
rand.htm  http://www.schellong.de/htm/dragon.c.html
Reply to
Helmut Schellong

Klar gibt es andere Interrupts. Was wichtiger ist: es gibt Timer-Interrupts

formatting link

Since Linux 2.6.21, Linux supports high-resolution timers (HRTs), optionally config? urable via CONFIG_HIGH_RES_TIMERS. On a system that supports HRTs, the accuracy of sleep and timer system calls is no longer constrained by the jiffy, but instead can be as accurate as the hardware allows (microsecond accuracy is typical of modern hard? ware). You can determine whether high-resolution timers are supported by checking the resolution returned by a call to clock_getres(2) or looking at the "resolution" entries in /proc/timer_list.

sys/time.h.

Posix meint "deprecated", man soll timer_gettime() verwenden, das ist in time.h.

Linux-user ein.

cu Michael

Reply to
Michael Schwingen

Helmut Schellong:

Mit HPET schon.

So ziemlich jeder aus dem letzten 20 Jahren.

[...]

Wird sie ja.

--
Arno Welzel 
https://arnowelzel.de
Reply to
Arno Welzel

Helmut Schellong:

Was empfohlen wird, war aber nicht das Thema, sondern was praktisch

[...]

Gibt es.

Ja und?

Nur weil etwas das in der von Dir bevorzugten Form nicht gibt, deswegen

--
Arno Welzel 
https://arnowelzel.de
Reply to
Arno Welzel

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.