Added Measurement Code support
Added Frequency period support

Change-Id: Ied5844950bda7dff861eae03ea798d018899d5e0
Signed-off-by: Jeremy Ho <jujaga@gmail.com>