Skip to content

arch/sim: add host_set_timeratio stub for Windows#18809

Merged
anchao merged 1 commit intoapache:masterfrom
LingaoM:add_sim_walltime_ratio
Apr 27, 2026
Merged

arch/sim: add host_set_timeratio stub for Windows#18809
anchao merged 1 commit intoapache:masterfrom
LingaoM:add_sim_walltime_ratio

Conversation

@LingaoM
Copy link
Copy Markdown
Contributor

@LingaoM LingaoM commented Apr 27, 2026

The simulated time ratio feature introduced a host_set_timeratio() call in sim_head.c, but the Windows host time implementation was missing this symbol, causing a link error. Add a no-op stub since the time ratio feature is not implemented on Windows.

The simulated time ratio feature introduced a host_set_timeratio()
call in sim_head.c, but the Windows host time implementation was
missing this symbol, causing a link error. Add a no-op stub since
the time ratio feature is not implemented on Windows.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
@github-actions github-actions Bot added Arch: simulator Issues related to the SIMulator Size: S The size of the change in this PR is small labels Apr 27, 2026
@anchao anchao merged commit e7fd9b1 into apache:master Apr 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: simulator Issues related to the SIMulator Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants