search space for three/four directives, compilation are included
wer consumption measurement using Yokogawa WT500, I used tricks when measuring the watss, currency and voltage. By generating all the execution files, I could easily control the execution period with double locks, the idea's from tickets method, once the execution starts, the ticket lock will be given to WT500 and it will sample 10 points during the execution time. Using WT500 is not a good experience actually.