new way to read/write frequency; run a benchmark and save energy data implement; no tests done