Skip to content

Conversation

@hender14
Copy link
Contributor

@hender14 hender14 commented Dec 23, 2025

概要

FSW 側で ti の値がオーバーフローしない様に、new_epoch の値を小さくする

Issue

検証結果

  • 0.7~1.3 の間でランダムに設定される CYCLES_PER_SEC の補正値が最大でもオーバーフローしない事を確認

補足

Copilot AI review requested due to automatic review settings December 23, 2025 11:22
@hender14 hender14 self-assigned this Dec 23, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the calculation method for new_epoch in the time manager test to improve test determinism. The change replaces a non-deterministic calculation based on the current time with a fixed offset from the default epoch.

  • Changed new_epoch calculation from time.time() - 86400 * 30 to TMGR_DEFAULT_UNIXTIME_EPOCH_FOR_UTL + 86400 * 30
  • Updated the comment to accurately reflect the new calculation method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants