Merge pull request #16 from OndrejMarsalek/timer

Add a code section timer mechanism
Fix #17