Look for a setting in the game's options that says something like "show performance metrics" or "display network options." Take note that the exact language may change depending on the game. This in-game ping test will provide you with the most precise measurement of the network performance applicable to the game and server that you are now using.