~ubuntu-branches/ubuntu/trusty/r-cran-rcpparmadillo/trusty

« back to all changes in this revision

Viewing changes to inst/include/armadillo_bits/wall_clock_bones.hpp

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2013-12-09 18:13:21 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20131209181321-cc9ycvs53xfiz5ow
Tags: 0.3.930.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright (C) 2008-2012 Conrad Sanderson
2
 
// Copyright (C) 2008-2012 NICTA (www.nicta.com.au)
 
1
// Copyright (C) 2008-2013 Conrad Sanderson
 
2
// Copyright (C) 2008-2013 NICTA (www.nicta.com.au)
3
3
// 
4
4
// This Source Code Form is subject to the terms of the Mozilla Public
5
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
26
26
  
27
27
  bool valid;
28
28
  
29
 
  #if defined(ARMA_USE_BOOST_DATE)
 
29
  #if defined(ARMA_USE_CXX11)
 
30
    std::chrono::steady_clock::time_point chrono_time1;
 
31
  #elif defined(ARMA_USE_BOOST_DATE)
30
32
    boost::posix_time::ptime         boost_time1;
31
33
    boost::posix_time::time_duration boost_duration;
32
34
  #elif defined(ARMA_HAVE_GETTIMEOFDAY)
35
37
  #else
36
38
    clock_t time1;
37
39
  #endif
38
 
  
39
40
  };
40
41
 
41
42