24#if defined(_WIN32) && !defined(CYGWIN)
25 typedef __int64 int64t;
27 typedef long long int64t;
125 inline int64t GetTotalTime();
A profiler class for measuring performance metrics in a DEM simulation.
Definition dem_profiler.hpp:22
int num_walls
Definition dem_profiler.hpp:52
void Print()
Definition dem_profiler.cpp:51
int64t timer_list[TimerType::num_timers]
Definition dem_profiler.hpp:46
static int64t GetTimeMicros()
Get the current time in microseconds.
Definition dem_profiler.cpp:6
int num_neigh_builds
Definition dem_profiler.hpp:58
DEMProfiler()
Definition dem_profiler.cpp:25
int num_neighs
Definition dem_profiler.hpp:55
double num_neighs_per_p
Definition dem_profiler.hpp:61
void Clear()
Definition dem_profiler.cpp:40
int num_particles
Definition dem_profiler.hpp:49
TimerType
Definition dem_profiler.hpp:31
@ contacts
Definition dem_profiler.hpp:33
@ linked_list
Definition dem_profiler.hpp:32
@ pre_modifiers
Definition dem_profiler.hpp:36
@ mid_modifiers
Definition dem_profiler.hpp:37
@ custom
Definition dem_profiler.hpp:40
@ post_modifiers
Definition dem_profiler.hpp:38
@ mpi_communication
Definition dem_profiler.hpp:39
@ walls
Definition dem_profiler.hpp:35
@ num_timers
Definition dem_profiler.hpp:41
@ particles
Definition dem_profiler.hpp:34
void EndTimer(TimerType t_type)
End a timer for measuring elapsed time.
Definition dem_profiler.cpp:32
void StartTimer(TimerType t_type)
Start a timer for measuring elapsed time.
Definition dem_profiler.cpp:27
Definition bond_entry.hpp:7