| 828 | } |
| 829 | |
| 830 | Value HostsTable::ExecutionTimeAccessor(const Value& row) |
| 831 | { |
| 832 | Host::Ptr host = static_cast<Host::Ptr>(row); |
| 833 | |
| 834 | if (!host) |
| 835 | return Empty; |
| 836 | |
| 837 | CheckResult::Ptr cr = host->GetLastCheckResult(); |
| 838 | |
| 839 | if (!cr) |
| 840 | return Empty; |
| 841 | |
| 842 | return cr->CalculateExecutionTime(); |
| 843 | } |
| 844 | |
| 845 | Value HostsTable::PercentStateChangeAccessor(const Value& row) |
| 846 | { |
nothing calls this directly
no test coverage detected