This commit is contained in:
DennisOSRM
2012-02-27 09:57:11 +01:00
3 changed files with 9 additions and 3 deletions
+7 -3
View File
@@ -31,8 +31,12 @@ def bin_prepare_hash
@bin_hash ||= hash_of_file '../osrm-prepare' @bin_hash ||= hash_of_file '../osrm-prepare'
end end
#combine state of data, speedprofile and binaries into a hash that identifies the exact test scenario def bin_routed_hash
def fingerprint @bin_hash ||= hash_of_file '../osrm-routed'
@fingerprint ||= Digest::SHA1.hexdigest "#{bin_extract_hash}-#{bin_prepare_hash}-#{speedprofile_hash}-#{osm_hash}" end
#combine state of data, speedprofile and binaries into a hash that identifies the exact test scenario
def fingerprint
@fingerprint ||= Digest::SHA1.hexdigest "#{bin_extract_hash}-#{bin_prepare_hash}-#{bin_routed_hash}-#{speedprofile_hash}-#{osm_hash}"
end end
+1
View File
@@ -0,0 +1 @@
Threads = 4
+1
View File
@@ -0,0 +1 @@
Memory = 1