A CPU identification tool and library