---
title: "Discussion on \"Keeping Time in C++: How to use the std::chrono API\" | Hashnode"
description: "Discussion on \"Keeping Time in C++: How to use the std::chrono API\". Keeping track of time is a very important aspect of computer programs. Some common use cases are:\n\nMeasure/profile the performance of certain parts of code.\nDo work at certain periods of time, from within a program. \nDetect whether threads are in a d..."
url: "https://hashnode.com/posts/cpp-std-chrono-api/66b99d5fc39234149cf0114b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Keeping Time in C++: How to use the std::chrono API](https://freecodecamp.org/news/cpp-std-chrono-api?utm_source=hashnode&utm_medium=feed)

Keeping track of time is a very important aspect of computer programs. Some common use cases are: Measure/profile the performance of certain parts of code. Do work at certain periods of time, from within a program. Detect whether threads are in a d...

Dec 4, 2023 · 7 min read · freecodecamp.org  
Read the article

-   [#c-2](https://hashnode.com/tag/c-2)
-   [#profiling](https://hashnode.com/tag/profiling)

## Written by

[Jayant Chowdhary](https://hashnode.com/@jayantc11)

@jayantc11

  
[View profile](https://hashnode.com/@jayantc11)

Software Engineer; Forever learning

I am a software engineer working on Android OS Camera Software.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
