26 #ifndef CASADI_TIMING_HPP
27 #define CASADI_TIMING_HPP
29 #include "generic_type.hpp"
47 class CASADI_EXPORT FStats {
50 std::chrono::time_point<std::chrono::high_resolution_clock> start_wall;
53 std::clock_t start_proc;
56 std::chrono::time_point<std::chrono::high_resolution_clock> stop_wall;
59 std::clock_t stop_proc;
75 casadi_int n_call = 0;
83 void join(FStats& rhs);
87 class CASADI_EXPORT ScopedTiming {
89 ScopedTiming(FStats& f);