mirror of
				https://github.com/Zygo/bees.git
				synced 2025-10-31 02:00:34 +01:00 
			
		
		
		
	bees: add version string and put it in main() and stats file
Now that we have more than one bees release it's somewhat important to know which one each bug report is for...
This commit is contained in:
		| @@ -1,3 +1,4 @@ | ||||
| #include "bees-version.h" | ||||
| #include "bees.h" | ||||
|  | ||||
| #include "crucible/crc64.h" | ||||
| @@ -259,6 +260,7 @@ BeesHashTable::prefetch_loop() | ||||
|  | ||||
| 		graph_blob << "Now:     " << format_time(time(NULL)) << "\n"; | ||||
| 		graph_blob << "Uptime:  " << m_ctx->total_timer().age() << " seconds\n"; | ||||
| 		graph_blob << "Version: " << BEES_VERSION << "\n"; | ||||
|  | ||||
| 		graph_blob  | ||||
| 			<< "\nHash table page occupancy histogram (" << occupied_count << "/" << total_count << " cells occupied, " << (occupied_count * 100 / total_count) << "%)\n"  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user