parallel-cellular-automata
Framework for building parallel cellular automata.
Macros
utimer.cpp File Reference

Implementation of the RAII timer defined un utimer.hpp. More...

#include <iostream>
#include <utimer.hpp>

Macros

#define START(timename)   auto timename = std::chrono::system_clock::now();
 
#define STOP(timename, elapsed)
 

Detailed Description

Implementation of the RAII timer defined un utimer.hpp.

See also
include/utimer.hpp

Macro Definition Documentation

◆ STOP

#define STOP (   timename,
  elapsed 
)
Value:
auto elapsed = \
std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now() - timename).count();