mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Some hash support improvments
This commit is contained in:
parent
00dc3e6a48
commit
cc2bdad335
5 changed files with 184 additions and 25 deletions
|
|
@ -219,17 +219,7 @@ void speed(int period, int nd, int size)
|
|||
printf("\n");
|
||||
|
||||
printf("%8s", "hash");
|
||||
#ifdef CONFIG_X86
|
||||
if (sizeof(void *) == 4 && !raid_cpu_has_slowmult())
|
||||
printf("%8s", "murmur3");
|
||||
else
|
||||
printf("%8s", "spooky2");
|
||||
#else
|
||||
if (sizeof(void *) == 4)
|
||||
printf("%8s", "murmur3");
|
||||
else
|
||||
printf("%8s", "spooky2");
|
||||
#endif
|
||||
printf("%8s", memhashname(membesthash()));
|
||||
fflush(stdout);
|
||||
|
||||
SPEED_START {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue