SebastianOberschwendtner / OTOS

Bearbones realtime operating system for embedded systems. Focus lies on KISS (Keep-It-Super-Simple).
GNU General Public License v3.0
2 stars 0 forks source link

Custom time type derived from std::chrono #13

Open SebastianOberschwendtner opened 2 years ago

SebastianOberschwendtner commented 2 years ago

Feature Description

The standard chrono library offers convenient time types which includes the time units. The types are 64-bit types, though. For better 32-bit performance, a custom type for OTOS would be nice. So you only need to use the big types, when the variable absolutely should not flow over and the smaller type otherwise.