Mantid
Loading...
Searching...
No Matches
AlgorithmExecute.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
9
10namespace Mantid::API {
11//---------------------------------------------------------------------------------------------
23
24void Algorithm::addTimer(const std::string &name, const Kernel::time_point_ns &begin,
25 const Kernel::time_point_ns &end) {
27 UNUSED_ARG(begin);
28 UNUSED_ARG(end);
29}
30} // namespace Mantid::API
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Definition: System.h:64
bool execute() override final
The actions to be performed by the algorithm on a dataset.
bool executeInternal()
Invoced internally in execute()
Definition: Algorithm.cpp:512
void addTimer(const std::string &name, const Kernel::time_point_ns &begin, const Kernel::time_point_ns &end)
const std::string name() const override=0
function to return a name of the algorithm, must be overridden in all algorithms
std::chrono::time_point< std::chrono::high_resolution_clock > time_point_ns
Definition: Algorithm.h:45