ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
Timing.hpp File Reference

High-resolution timing utility for measuring function execution time. More...

#include <chrono>
#include <iomanip>
#include <sstream>
#include <string>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  ppforest2
 
namespace  ppforest2::io
 

Functions

template<typename F>
auto ppforest2::io::measure_time_ms (F &&f)
 Measure the wall-clock execution time of a callable in milliseconds.
 
std::string ppforest2::io::now_iso8601 ()
 Return the current local time as an ISO 8601 string (YYYY-MM-DDTHH:MM:SS).
 

Detailed Description

High-resolution timing utility for measuring function execution time.