MolSim
Loading...
Searching...
No Matches
Classes | Macros
Timer.h File Reference

Header-only class for timing code execution. More...

#include "CLIUtils.h"
#include <chrono>
#include <iostream>
#include <spdlog/spdlog.h>
#include <string>

Go to the source code of this file.

Classes

class  Timer
 Class used to measure runtime performance and log molecule updates per second (MUPS). More...
 

Macros

#define TIMER_RESET(_x)   (void)0
 
#define TIMER_PRINT_ELAPSED(_x)   (void)0
 
#define TIMER_PRINT_MUPS(_x)   (void)0
 
#define TIMER_UPDATE_MOLECULES(_x, _y)   (void)0
 

Detailed Description

Header-only class for timing code execution.

Date
2024-12-09

Macro Definition Documentation

◆ TIMER_PRINT_ELAPSED

#define TIMER_PRINT_ELAPSED (   _x)    (void)0

◆ TIMER_PRINT_MUPS

#define TIMER_PRINT_MUPS (   _x)    (void)0

◆ TIMER_RESET

#define TIMER_RESET (   _x)    (void)0

◆ TIMER_UPDATE_MOLECULES

#define TIMER_UPDATE_MOLECULES (   _x,
  _y 
)    (void)0