How to measure power in PID controlled circuit

I think there is no problem in the schematic connection and hardware is fine as I had tested and getting reading in initial stage of working but problem arises as on-off started in PID control. I think there is timing problem. I want power reading and precisely electrical energy given to microwave to heat the jar.