A portable measurement system for power profiling of processing units