Landing: 8633b886e6b8

Project / Subsystem

gcc / libstdc++

Date

2026-05-11

Author

Alexandre Oliva

Commit

8633b886e6b894524c632f35c2920f71eaad4a71

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
8633b886e6b894524c632f35c2920f71eaad4a71
source_type
github
headline
libstdc++: VxWorks: Enable clock_gettime
tldr
libstdc++ now uses `clock_gettime` on VxWorks, enabling more precise time measurements with `chrono`.
author
Alexandre Oliva
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • vxworks
  • clock_gettime
  • chrono
discussion_id_link
bugzilla_pr
date
2026-05-11T00:00:00.000Z

libstdc++ on VxWorks can now use the clock_gettime function, which provides more precise time measurements than the previously used gettimeofday. This change enables the <chrono> library to work with earlier VxWorks 6.9 releases and allows clocks and deadlines to operate with the same precision, reducing potential inaccuracies.