Merge pull request #16 from OndrejMarsalek/timer

Add a code section timer mechanism
Fix #17
Merge branch 'master' into H2