Hardware-accelerated path-delay fault grading of functional test programs for processor-based systems