Statistics for Adaptive compute-phase prediction and thread prioritization to mitigate memory access latency