Program locality analysis tools