minor improvements for pinba_get_time_interval()
minor optimization