Hi Xiang,
Yes the algorithm is smart enough to exclude partial cycles and only collect duty cycle data on full cycles.
If you put the instrument into Single mode and look at N on the stats badge, you will be able to see the number of cycles the algorithm has detected in the captured waveform and is doing duty cycle measurements on.