An Online Wear State Monitoring Methodology for Off-the-Shelf Embedded Processors