diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-04-07 18:11:47 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-04-07 18:11:47 +0000 |
commit | fda53d5f3d16aadf7063e750b4191ec664df579c (patch) | |
tree | 34f6992fc8f502f98ed2982c7c972d6827aa413e /src/dht | |
parent | 693271cd55f60bc69f62d7d4c7b4fa09a695d6ea (diff) | |
download | gnunet-fda53d5f3d16aadf7063e750b4191ec664df579c.tar.gz gnunet-fda53d5f3d16aadf7063e750b4191ec664df579c.zip |
remove trialid from gauger data
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index ee3d388d4..f7e287608 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c | |||
@@ -981,7 +981,7 @@ finish_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) | |||
981 | free_meter (get_meter); | 981 | free_meter (get_meter); |
982 | 982 | ||
983 | GNUNET_asprintf (&temp_get_string, | 983 | GNUNET_asprintf (&temp_get_string, |
984 | "DHT Successful GETs (trial %d)", trial_to_run); | 984 | "DHT Successful GETs", trial_to_run); |
985 | GNUNET_asprintf (&revision_str, "%llu", revision); | 985 | GNUNET_asprintf (&revision_str, "%llu", revision); |
986 | if (GNUNET_YES == insert_gauger_data) | 986 | if (GNUNET_YES == insert_gauger_data) |
987 | GAUGER_ID("DHT_TESTING", temp_get_string, cumulative_successful_gets / (double)cumulative_num_gets, "percent successful", revision_str); | 987 | GAUGER_ID("DHT_TESTING", temp_get_string, cumulative_successful_gets / (double)cumulative_num_gets, "percent successful", revision_str); |
@@ -3106,10 +3106,10 @@ topology_callback(void *cls, const struct GNUNET_PeerIdentity *first, | |||
3106 | conns_per_sec_total, failed_conns_per_sec_total); | 3106 | conns_per_sec_total, failed_conns_per_sec_total); |
3107 | 3107 | ||
3108 | GNUNET_asprintf (&temp_conn_string, | 3108 | GNUNET_asprintf (&temp_conn_string, |
3109 | "DHT Profiler Connection (trial %d)", | 3109 | "DHT Profiler Connection/s", |
3110 | trial_to_run); | 3110 | trial_to_run); |
3111 | GNUNET_asprintf (&temp_conn_failed_string, | 3111 | GNUNET_asprintf (&temp_conn_failed_string, |
3112 | "DHT Profiler Connection failed (trial %d)", | 3112 | "DHT Profiler Connection/s failed", |
3113 | trial_to_run); | 3113 | trial_to_run); |
3114 | GNUNET_asprintf (&revision_str, "%llu", revision); | 3114 | GNUNET_asprintf (&revision_str, "%llu", revision); |
3115 | 3115 | ||
@@ -3121,11 +3121,11 @@ topology_callback(void *cls, const struct GNUNET_PeerIdentity *first, | |||
3121 | GNUNET_free(temp_conn_string); | 3121 | GNUNET_free(temp_conn_string); |
3122 | GNUNET_free(temp_conn_failed_string); | 3122 | GNUNET_free(temp_conn_failed_string); |
3123 | GNUNET_asprintf (&temp_conn_string, | 3123 | GNUNET_asprintf (&temp_conn_string, |
3124 | "DHT Profiler Total Connections (trial %d)", | 3124 | "DHT Profiler Total Connections", |
3125 | trial_to_run); | 3125 | trial_to_run); |
3126 | GNUNET_asprintf ( | 3126 | GNUNET_asprintf ( |
3127 | &temp_conn_failed_string, | 3127 | &temp_conn_failed_string, |
3128 | "DHT Profiler Total Connections failed (trial %d)", | 3128 | "DHT Profiler Total Connections failed", |
3129 | trial_to_run); | 3129 | trial_to_run); |
3130 | if (GNUNET_YES == insert_gauger_data) | 3130 | if (GNUNET_YES == insert_gauger_data) |
3131 | GAUGER_ID("DHT_TESTING", temp_conn_string, total_connections, "conns", revision_str); | 3131 | GAUGER_ID("DHT_TESTING", temp_conn_string, total_connections, "conns", revision_str); |
@@ -3823,7 +3823,7 @@ run(void *cls, char * const *args, const char *cfgfile, | |||
3823 | "do_find_peer")) | 3823 | "do_find_peer")) |
3824 | do_find_peer = GNUNET_YES; | 3824 | do_find_peer = GNUNET_YES; |
3825 | 3825 | ||
3826 | if (GNUNET_NO == GNUNET_CONFIGURATION_get_value_yesno (cfg, "dht_testing", | 3826 | if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno (cfg, "dht_testing", |
3827 | "insert_gauger_data")) | 3827 | "insert_gauger_data")) |
3828 | insert_gauger_data = GNUNET_YES; | 3828 | insert_gauger_data = GNUNET_YES; |
3829 | 3829 | ||