Recorder PC clock¶
Vital Recorder's clock on the recording PC. It stamps every record, and every other clock is linked to it, directly or through others.
| Type | software |
| Nominal | Server time, then the PC timer |
| Kept by | Vital Recorder |
Description¶
Vital Recorder stamps each record with this clock, and every device link is measured against it. It is not the Windows clock: at start-up the recorder reads the time once from the VitalDB server and stores its difference from the PC clock, and after that its time advances only by the PC's hardware timer, the Windows multimedia timer (1 ms resolution). It restarts itself once it has run for more than 5 hours and is waiting for the next patient, and with every PC restart, and reads the server time again at each start (H.-C. Lee, 9 November 2026; Recorder PC against UTC). The hand synchronisation of the Windows clock to UTC(KRIS) with KRISS's UTCk mattered only when the server request failed. Its own link to UTC cannot be observed in the release, because dates are shifted to the year 2100.
It does not step visibly: across all 6,388 files no simultaneous jump of every device of 0.5 s or more was found, and it never steps backwards.
Every device drift in the atlas is measured against this clock, so its own drift and corrections are inside every one of them. Within a recording the BIS and SNUADC drifts vary from interval to interval, but in opposite directions (r = −0.54), which a PC excursion would not produce (When each device's clock is corrected, in every recording).
The recording itself pauses for about 18 s on a 5-hour timer that does not start with the recording (Recording pauses of about 20 s). Vital Recorder's automatic restart after 5 hours of running would fit; whether it also happens during a recording has been asked of its developer. Its rate is the hardware timer's: −12.6 ppm against the mains grid (Recorder PC against the mains grid).
Route to UTC¶
The route the atlas trusts most (1 link; it is the link to UTC that every clock shares):
Independent checks. 1 other route reach UTC; where they meet, the offsets must close around the loop:
Plan. The only link the release cannot show. What is known: the recorder takes the VitalDB server's time at each start and then runs on the PC's hardware timer, whose rate against the grid is measured; no step of 0.5 s or more appears within any file. Not known: the server's own offset from UTC and the delay of the start-up request. To go further: recordings with a known external time (a dated event, a GPS-stamped device).
Links to other clocks¶
| Link | Clock | Against | Modes | Rate | Corrected every | Status |
|---|---|---|---|---|---|---|
| BIS against the recorder PC | BIS clock | Recorder PC clock | all | 25 ppm (p10–p90 12 to 50; 5th–95th 7.3–51.1 ppm; census fit of 4,728 recordings median 21.1 ppm) | 8,192 s (2 h 16.5 min), ± 20 s in 95% of intervals | measured |
| CardioQ against the recorder PC | CardioQ clock | Recorder PC clock | all | — | at most about 300 s; about 40 re-anchors per case | measured |
| Hospital records clock against the recorder PC | Hospital records clock | Recorder PC clock | all | — | — | assumed |
| Primus against the recorder PC | Primus clock | Recorder PC clock | all | 105 ppm (p10–p90 29 to 189; 178 recordings (v4 rates, 11 Nov; vitaldb-bench examples/drift_probe_summary.py; 104, 28–184 before); whole-recording lines give +92 ppm median in 1,060 (v4 rates; p10–p90 −48 to +233)) | about 7,230 s (2.0 h; p90 7,277 s, p95 twice that) | measured |
| Recorder PC against the mains grid | Recorder PC clock | Mains grid | all | about −13 ppm (median; the PC runs slow); setups −57 to +7 ppm | — | measured |
| Recorder PC against UTC | Recorder PC clock | UTC | all | — | start of the recorder: once it has run more than 5 h and is waiting for the next patient, and at every PC restart (a rule in the recorder) | documented |
| SNUADC (frequent-correction mode) against the recorder PC | SNUADC sample clock | Recorder PC clock | frequent | −0.954 ppm (n = 6321; census of 6,321 files (17 October): median −0.9535 ppm; 88.5% of recording hours (89.5% of stretches) within 0.05 ppm of −0.954; 747 files (12%) above it, 5th to 95th percentile −0.90 to −0.72 ppm) | — | measured |
| SNUADC (step mode) against the recorder PC | SNUADC sample clock | Recorder PC clock | step | −63 ppm (p10–p90 −79 to −44; 5th–95th −80.3 to −36.9 ppm; medians of −46 to −74 ppm by serial port) | 2.08 h (5th–95th 1.65–3.57 h between resets; per-recording means p10–p90 1.68–3.07 h) | measured |
Variables stamped by this clock¶
Recording Start Time, BIS EEG, CardioQ pressure and flow, EV1000 mean arterial pressure, FMS rapid infuser, Invos regional oxygen saturation, Airway pressure (Primus), Capnogram (Primus), Primus ETCO₂, PIP and RR, Infusion pump rates and volumes, Arterial pressure (SNUADC), ECG lead II (SNUADC), Plethysmogram (SNUADC), Solar8000 ART and CVP numerics, Solar8000 heart rate, Non-invasive blood pressure, Solar8000 pulse rate (PLETH_HR), SpO₂, Vigilance continuous cardiac output, Vigileo SV, CO and SVV
Parameters¶
| Parameter | Value | Status | From |
|---|---|---|---|
| Largest recorder PC clock step | no step of 0.5 s or more in 6,388 files (19,006 h) | measured | Recorder PC clock steps and recording pauses |
| Recording pause | 18.5 s (p10–p90 16.4 to 33.0; 2,029 pauses in 1,828 files (29%); the SNUADC stamps' jump) | measured | Recorder PC clock steps and recording pauses |
Observations¶
| Observation | Status | Summary |
|---|---|---|
| Device clock drift depends on the setup | established | The drift of the SNUADC's and the BIS's timestamps against the recorder PC is largely set by the setup: knowing a recording's PC key (the serial ports of its four core devices) puts the SNUADC's drift within 3 ppm of its setup's median in 97% of cases and the BIS's in 83%, against 34% and 17% for the release's median. On the whole release's correction intervals the same test gives 71% and 60% (Identifying the recording setup of every case). |
| Every case starts at 2100-01-01 00:00 UTC | established | The release shifts each case to the same start, removing the date and the time of day. Within a case all times keep their spacing. |
| Recording pauses of about 20 s | established | In 29% of files every device jumps forward together, by a median 18.5 s: the recorder paused. Data are missing there, and the stamps show it honestly. The pauses run on a 5-hour timer: consecutive pauses in a recording are 5 h apart (plus the pause) in 86% of cases, and the first comes at any time after the recording starts. |
| SNUADC sends no time; the recorder stamps by count | established | The SNUADC board streams samples with no time stamps. Every SNUADC time in VitalDB is the recorder's model of the board's clock: the sample count at the nominal rate, pulled back when it drifts too far. |
| The EMR clock's offset cannot be separated from documentation lag | established | Both routes between the EMR clock and the recorder run through the case start, so any EMR clock offset cancels. Without a time from outside the release it is confounded with how late entries are made. |
Studies¶
| Study | Date | Status | Summary |
|---|---|---|---|
| The SNUADC rate from the mains hum, where the stamps cannot give it | 2026-11-11 | current | 57% of recordings carry no SNUADC stamp correction, so the working reference runs on a borrowed rate. Checked against the BIS through a second, independent path, the stamp model's rate (model5, capped by the recorder's 0.5 s rule) drifts by 9.5 ppm (23 ms/h, median). The mains hum gives each such recording its own rate, 12.0 ppm (29 ms/h): it cut the drift from 31 ppm on the earlier model (model3), but on model5 it only trims the tail. |
| Closing loops in the timing graph | 2026-11-11 | current | Where two independent routes reach the same clock, the offsets around the loop must sum to zero. Three measured loops close within their noise; the BIS loop closes up to a constant latency; the proposed EMR loop is not a loop at all. Adjusted as a network over the whole release, every loop type closes on average, including two that reach the SNUADC through the PC-stamped Solar8000 numerics instead of its own stamps. |
| How the Vital Recorder stamps SNUADC records, tested against the release | 2026-11-10 | current | The Vital Recorder counts SNUADC samples from the PC time and compares the count with the PC clock at every read: a count behind by up to 0.5 s is filled with blank time, one behind by more starts a new segment, and one ahead by more than 0.5 s loses its excess samples and restarts from the PC time. These rules account for all three SNUADC modes in the release: step mode is a fast converter, frequent-correction mode a slow one, and a recording with no correction a fast one that never gains half a second within a segment. |
| Mains hum as an outside clock, and the recording PCs against the grid | 2026-11-09 | current | The SNUADC waveforms carry the mains hum at 120 and 360 Hz in 39% of recordings. The grid is regulated to its nominal frequency, so the hum is a clock outside the recording, and through it the recorder PC's rate against the grid can be measured where the SNUADC's own rate is known, from the recording's whole teeth or its setup's: the PCs run slow, about 13 ppm, and two stations stand apart (−57 and +7 ppm). One-correction "rates", line fits through one step, were dropped (9 November). |
| The stamp sawtooth model for SNUADC and BIS | 2026-11-09 | current | Fitting each track's record stamps against its sample count as a drift with corrections (a sawtooth) puts SNUADC and BIS on one timeline without any artefact. Checked against shared bursts, the EEG–ECG timing error falls from about 790 ms on the recorded stamps to 33 ms with one constant per SNUADC mode in the pilot, and 40 ms over the whole release. |
| Physical units, shared drift and time order | 2026-11-03 | current | Device drift rates cluster into units: about 8 SNUADC boards and 8–18 BIS monitors. Part of the drift is shared by both devices of a case and changes between cases: the recorder PC's own rate. Case order carries no time information. |
| Time zeros and loaded subsets | 2026-11-03 | current | A VitalDB time "from the start" depends on which tracks were loaded: loading a subset moves the zero to that subset's first record, seconds or hours later. The arrhythmia database's annotations count from the full file's zero. |
| When each device's clock is corrected, in every recording | 2026-11-01 | current | From the steps between records in all 6,388 recordings: the BIS is corrected every 8,192 s and the Primus every 7,230 s, on their own timers (the first correction comes at any time after the device starts); the SNUADC is reset when its count gets half a second ahead of the PC, the recorder's rule (How the Vital Recorder stamps SNUADC records, tested against the release). With the full rerun of the correction fit, it gives each device's drift against the recorder PC in 4,728 BIS and 2,728 SNUADC recordings, and shows that the Primus's 20–23 s AWP pauses belong to its correction cycle. Every rate here is relative to the recorder PC, whose own clock drifts and is corrected. |
| Paced ECG as an independent clock | 2026-11-01 | current | Fixed-rate pacing gives a clock the recording chain cannot touch. Timing paced beats on three timelines shows that each SNUADC step-mode correction loses about 19 ms of signal, and that nothing else breaks the sample stream. |
| Recorder PC time adjustments from the mains hum (negative result) | 2026-10-28 | current | Comparing PC time (from SNUADC stamp corrections) with grid time (from the hum phase) could in principle show when the recorder PC's clock is adjusted. In VitalDB it cannot: the recordings that correct often enough have hum too weak to track. |
| Gaps and unbroken segments in every waveform | 2026-10-19 | current | Every gap and every unbroken segment in the 6,388 recordings, per waveform. The curves are not smooth: a cliff at about 18 s in every device but the CardioQ marks the recorder's pauses, SNUADC segments stop at 5 hours, Primus segments at about 2.0 hours and BIS segments at about 2.3 hours (each device's correction cycle), and BIS's short gaps grow with the time since the last one (clock resynchronisations, not lost data). |
| The Primus stamp step at each airway-pressure pause | 2026-10-19 | current | Measured directly at 2,488 pauses in 1,021 recordings: where CO₂ carries on through the AWP pause (74%), the Primus stamps barely step (median 0 ms, p10–p90 −164 to +188 ms, close to the no-pause controls); where CO₂ stops too (26%), they step by up to seconds. No step undoes the drift built up since the last pause. |
| Message sizes and the steps between records | 2026-10-19 | current | Every record in every waveform: SNUADC writes messages of 100 samples (0.2 s), Primus 30 (0.48 s), BIS 16 (0.125 s), CardioQ no fixed size. In SNUADC and BIS, backward steps outnumber gaps by about a hundred to one (Primus 5–25 to one, CardioQ about one to one); they come from a few recordings with duplicated or interleaved records. Primus AWP gaps are whole lost messages (CO₂ gaps mostly are not); most SNUADC and BIS gaps are not. |
| The SNUADC clock through the Solar8000 numerics, whole release | 2026-10-19 | current | On the SNUADC's own sample count, the delay from the waveform to the PC-stamped Solar8000 heart rate and mean arterial pressure ramps at the SNUADC's drift against the PC, measured without its stamps or resets. In recordings with whole reset intervals it agrees with them from 6 h (median difference per recording +1.7 ppm, 333 recordings; +7.8 ppm over all 582, with the shorter ones biased). It is too noisy per recording, and in recordings under 6 h its rate is biased toward zero; from 6 h it is unbiased against the resets and joins the clock network as an edge (Closing loops in the timing graph). |
| What each break in the stamps is | 2026-10-19 | current | Every step between waveform records in the release, sorted by mechanism: written twice, a SNUADC clock reset, interleaved streams, a pause shared by every device, whole messages, less than a message, or a fraction of a message beyond whole ones. A continuity test with controls shows which classes lose data: shared pauses and most longer SNUADC gaps do; steps under one message, and SNUADC's lone one-message steps, mostly do not. |
| How often each device is corrected | 2026-10-17 | current | The devices re-synchronise in different ways: SNUADC when its drift reaches about half a second, BIS on a fixed 8,192 s timer, and the Primus by small steps about every two hours that do not keep up with its drift (+105 ppm, measured later by breath matching). |
| SNUADC against the PC-stamped heart rate | 2026-10-17 | superseded | A 66-recording pilot of the route from the SNUADC clock to the recorder PC through the PC-stamped Solar8000 heart rate, superseded by the whole-release The SNUADC clock through the Solar8000 numerics, whole release. Its pooled rates were aggregated by a step that was not saved and do not reproduce from the saved per-recording output; they are kept as history, not for use. |
| Recorder PC clock steps and recording pauses | 2026-10-17 | current | A step of the recorder PC clock would move every record the PC stamps on arrival (the Solar8000 and Primus numerics) for good, against the waveforms the devices stamp from their own sample counts. None of 0.5 s or more shows in any of the 6,388 files: simultaneous delays of the numerics, up to 23 s, are recorder stalls, after which the numerics sit where they were, and what moves everything together is recording pauses. |
| Records out of order at SNUADC resets, and where the lost time goes | 2026-10-17 | current | At every SNUADC reset the five records after it are written out of order: two continue the old timing and three start the new. Put back in order, the waveform runs on with no samples missing; the 18–20 ms lost at each reset goes missing inside the last old-timing record, and an extra zero sample follows. |
| SNUADC stamp arithmetic | 2026-10-17 | current | Between corrections the SNUADC block stamps run −0.95 ppm against the sample count: each 0.2 s increment is about 0.19 µs short. This, not clock drift, is the "about −1 ppm" seen in frequent-correction mode. |
| The vitaldb package's loading conventions | 2026-10-17 | current | The vitaldb Python package sets time zero from the tracks loaded, places waveform blocks by rounding their stamps up to a sample, and lets overlapping blocks overwrite each other. Each choice moves or loses samples. |
| Rare devices against SNUADC | 2026-10-13 | current | CardioQ, EV1000, Vigileo and Vigilance each get a link to the SNUADC timeline: beat matching for the CardioQ, mean arterial pressure alignment for the EV1000 and Vigileo, and a long-window fit for Vigilance's averaged heart rate. |
| Recovering the time of day | 2026-10-12 | current | The release shifts every case to start at 2100-01-01 00:00 UTC, removing the date and the time of day. The time of day (Korean local time) can be recovered to the minute from the admission date and the seconds of the EMR times. |
| Anaesthesia record times are rounded up | 2026-10-12 | current | Anaesthesia start and end entered on a 5-minute mark sit 90–290 s later, against device markers, than entries typed to the minute. Rounding up to the next 5 minutes fits every one of 11 markers better than rounding to the nearest or down. |
| Clock corrections in every file | 2026-10-11 | current | A scan of all 6,388 files for the jumps where the recorder re-synchronises a device's stamps. Each device type has its own correction signature; only SNUADC and BIS correct clearly enough to measure their drift. |
References¶
- Lee H-C, Park Y, Yoon SB, Yang SM, Park D, Jung C-W. VitalDB, a high-fidelity multi-parameter vital signs database in surgical patients. Sci Data. 2022;9:279. ↗
- Mills D, Martin J, Burbank J, Kasch W. Network Time Protocol Version 4: Protocol and Algorithms Specification. RFC 5905. RFC Editor; 2010. ↗
- Lee H-C. Correspondence with A. J. Goodwin, November 2026. ↗
- Lee H-C. Correspondence with A. J. Goodwin, 9 November 2026 (on the v2 draft). ↗