The idea is to set a pulse wave at $000 at max level then, after a keypress, set waveform zero and count the number of frames it takes until the output settles, manually signaled by another keypress. According to the c64 digi article on a 6581 it should start at around 5.29V and then rise up to ~6.34 volts.