Windows

Current version merged with branch master of halide/Halide (as of 8/2/2013) and builds and runs on Windows.
Note: gettimeofday is not a Windows function.