.lib based simple delay calculator