wip:metering

Change-Id: Ice1f61e15516846ef6609cfa046852a3e5510662
Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>