X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsn-info.c;h=e2bc9c92f32b4df0a63d2a6c27622cffc90d833f;hb=81effefb7705a491ca062e54f31aa03093c28dbc;hp=7d0b2f631a99e3693f90944103d146cda1471c16;hpb=83e45cbde13aca5f1be11ee50e6f07f5140f213d;p=sort-networks.git diff --git a/src/sn-info.c b/src/sn-info.c index 7d0b2f6..e2bc9c9 100644 --- a/src/sn-info.c +++ b/src/sn-info.c @@ -1,5 +1,5 @@ /** - * collectd - src/sn-info.c + * libsortnetwork - src/sn-info.c * Copyright (C) 2010 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it @@ -112,11 +112,13 @@ int main (int argc, char **argv) " Normalized: %4s\n" " Sorts: %7s\n" " Rating: %4i\n" + " Hash: 0x%08"PRIx32"\n" "\n", comparators_num, (normalized ? "yes" : "no"), ((inputs_num > 16) ? "unknown" : (sorts ? "yes" : "no")), - (stages_num_compressed * inputs_num) + comparators_num); + (stages_num_compressed * inputs_num) + comparators_num, + sn_network_get_hashval (n)); exit (EXIT_SUCCESS); } /* int main */