The PBP manual is pretty explicit in using the HPWM command. A search on HPWM currently produces 56 threads many with examples of usage. Let's not ask for further examples of what's already available and been repeated many times.