mirror of https://github.com/Icinga/icinga2.git
14 lines
306 B
C++
14 lines
306 B
C++
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#include "icinga/notificationresult.hpp"
|
|
#include "icinga/notificationresult-ti.cpp"
|
|
|
|
using namespace icinga;
|
|
|
|
REGISTER_TYPE(NotificationResult);
|
|
|
|
double NotificationResult::CalculateExecutionTime() const
|
|
{
|
|
return GetExecutionEnd() - GetExecutionStart();
|
|
}
|