Added code to support swap interval provided by SGI. Disabled for now.