Noting the engine speed is one way to determine when to upshift.

There are two indicators that determine when you need to shift into a higher gear. One indicator is the engine speed (rpm). You should read your vehicle's manual to learn its rpm range and shift up when you reach the top of that range. The other indicator is road speed (mph). You should learn which speeds each gear can accommodate, then keep an eye on the speedometer and shift up as needed.
DMV Writen Test