Project

General

Profile

Talk #566

std::chrono — typesafe time keeping in C++

Added by Kretz, Matthias about 10 years ago. Updated almost 10 years ago.

Status:
Presented
Priority:
Normal
Start date:
2014-04-28
Due date:
2014-05-28
% Done:

0%

Estimated time:
Talk Author(s):
Bjørn Bäuchle
Presenter:
Bjørn Bäuchle

Description

Calculations with times, dates and durations are necessary in many different contexts. In scientific codes we are often interested in time durations, be that for measuring run-time or calculations on time points. C++11 introduced the std::chrono classes to the standard library to simplify these tasks.
In the talk, I will give an overview over the facilities provided by C and point out pit falls. Thereafter, std::chrono is introduced and its solutions and shortcomings are discussed.


Files

chrono.pdf (196 KB) chrono.pdf Bäuchle, Bjørn, 2014-05-28 16:09

Also available in: Atom PDF