BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef CORE_OPERATION_OP_TIMER_H_
16 #define CORE_OPERATION_OP_TIMER_H_
26 template <
typename TOp>
30 explicit OpTimer(std::string timer_msg,
const TOp& op)
33 template <
typename Container>
34 void operator()(Container* cells, uint16_t numa_node, uint16_t type_idx) {
37 if (param->statistics) {
55 #endif // CORE_OPERATION_OP_TIMER_H_
TimingAggregator * GetOpTimes()
OpTimer(std::string timer_msg)
Scheduler * GetScheduler()
void operator()(Container *cells, uint16_t numa_node, uint16_t type_idx)
Decorator for Operations to measure runtime.
const TOp * operator->() const
OpTimer(std::string timer_msg, const TOp &op)
const Param * GetParam() const
Returns the simulation parameters.
static Simulation * GetActive()
This function returns the currently active Simulation simulation.