I want to calculate the sla of our services, so i need to get the failure time during the selected time.For instance,if i chose last 1 hour, i need to know how long did my service keep alive during last one hour,the sla equals time(the service up)/1hour*100.Is there any function to get the time ?