Fixes for chrono support. Update examples and tests to use the chrono interfaces