chrono.rst (11986:c12e4625ab56) chrono.rst (12037:d28054ac6ec9)
1Chrono
2======
3
4When including the additional header file :file:`pybind11/chrono.h` conversions
5from C++11 chrono datatypes to python datetime objects are automatically enabled.
6This header also enables conversions of python floats (often from sources such
1Chrono
2======
3
4When including the additional header file :file:`pybind11/chrono.h` conversions
5from C++11 chrono datatypes to python datetime objects are automatically enabled.
6This header also enables conversions of python floats (often from sources such
7as `time.monotonic()`, `time.perf_counter()` and `time.process_time()`) into
8durations.
7as ``time.monotonic()``, ``time.perf_counter()`` and ``time.process_time()``)
8into durations.
9
10An overview of clocks in C++11
11------------------------------
12
13A point of confusion when using these conversions is the differences between
14clocks provided in C++11. There are three clock types defined by the C++11
15standard and users can define their own if needed. Each of these clocks have
16different properties and when converting to and from python will give different

--- 65 unchanged lines hidden ---
9
10An overview of clocks in C++11
11------------------------------
12
13A point of confusion when using these conversions is the differences between
14clocks provided in C++11. There are three clock types defined by the C++11
15standard and users can define their own if needed. Each of these clocks have
16different properties and when converting to and from python will give different

--- 65 unchanged lines hidden ---