def _prof_path(profiler_output, expr):
 dir_ = os.path.join(profiler_output, expr_md5(expr))
 ensure_dir(dir_)
 return os.path.join(dir_, str(int(datetime.utcnow().timestamp())))

def _prof_path ( profiler_output , expr ) : dir_ = os . path . join ( profiler_output , expr_md5 ( expr ) ) ensure_dir ( dir_ ) return os . path . join ( dir_ , str ( int ( datetime . utcnow ( ) . timestamp ( ) ) ) )
get the path to write the data for a profile run of expr .