Skip to content
Embedded Artistry

Embedded Artistry

Building Superior Embedded Systems

  • Welcome
  • Blog
  • Courses
  • Field Atlas
  • Memberships
  • Resources
    • Archive
    • Newsletter
    • What We’re Reading
    • For Beginners
    • Glossary
    • Libraries
    • Templates
    • YouTube Channel
  • Store
  • Consulting

Tag: Time

Posted on 31 January 20199 June 2022

Converting between timespec & std::chrono

I was working with some POSIX APIs recently and needed to supply a timespec value. I primarily work with std::chrono types in C++ and was surprised that there were no (obvious) existing conversion methods. Below are a few utility functions that I came up with to handle common conversions. Table of Contents timespec Refresher Conversion …

Continue reading "Converting between timespec & std::chrono"

Very few people need you to yell at them. Your best employees, your best allies–they have high standards for themselves too. They know when they screw up. They feel bad enough already. What they need is grace. What they need is help. What they need is a pick-me up.Daily Stoic
Good Leaders Give This

Free Newsletter

Sign up and receive our free playbook for writing portable embedded software.

  • Login
  • RSS Feed
  • Embedded Systems Newsletter
  • Membership Information

Featured Courses

You have no featured courses.
  • My Account
  • Privacy Policy
  • Contact Us
  • GitHub
  • LinkedIn
  • Twitter

©2026 Embedded Artistry LLC. All rights reserved.
EMBEDDED ARTISTRY and the OWL logo are registered trademarks of Embedded Artistry LLC.

Privacy Policy Proudly powered by WordPress