MCPcopy Create free account
hub / github.com/Icinga/icinga2 / TunitStr

Function TunitStr

plugins/thresholds.cpp:224–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224std::wstring TunitStr(const Tunit& unit)
225{
226 switch (unit) {
227 case TunitMS:
228 return L"ms";
229 case TunitS:
230 return L"s";
231 case TunitM:
232 return L"m";
233 case TunitH:
234 return L"h";
235 }
236 return NULL;
237}
238
239void printErrorInfo(unsigned long err)
240{

Callers 1

printOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected