]> https://gitweb.dealii.org/ - dealii.git/commit
Use std::chrono types in the Timer class.
authorDavid Wells <wellsd2@rpi.edu>
Thu, 24 Aug 2017 00:09:07 +0000 (20:09 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 24 Aug 2017 16:45:28 +0000 (12:45 -0400)
commit57bddfa3be4f967a23acf6dec0f972630c75ae5b
tree413df9236451a09fa695630c211d657d30202d15
parent36f37e9ff7935ad1da2f6a3bec28ecfc6625b628
Use std::chrono types in the Timer class.

This commit does two things:
1. The CPU time calculating function has been moved to a std::chrono-compliant
   clock class.
2. The various time measurements stored as private members of Timer have been
   reorganized into two structs of type ClockMeasurements. The new, equivalent
   fields use std::chrono types instead of double precision numbers.
include/deal.II/base/timer.h
source/base/timer.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.