import collections
import sys

if sys.platform == 'win32':
    from time import clock as time
else:
    from time import time


def is_callable(o):
    return isinstance(o, collections.Callable)

import collections


def is_callable(o):
    return isinstance(o, collections.Callable)

--- 
+++ 
@@ -1,4 +1,10 @@
 import collections
+import sys
+
+if sys.platform == 'win32':
+    from time import clock as time
+else:
+    from time import time
 
 
 def is_callable(o):
Add platform dependent time import for best resolution.
