Is "switching frequency" measured for a full cycle or half cycles
You need to apply the concept of period: the time interval from the beginning of the first pulse to the start of the second.

In the picture below I tried to depict this more clearly.