diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-20 07:45:12 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-20 07:45:12 +0000 |
commit | c0ed97f579f033d16fcfacf3db63dcd1377c66c3 (patch) | |
tree | 2e79655c584e040de2774d1f7bd7ee83378f3f8c /src/ats-tests/perf_ats.h | |
parent | f6ff4c48d5d41875e03b59df33117cb4ba943877 (diff) |
measuring application layer delay
Diffstat (limited to 'src/ats-tests/perf_ats.h')
-rw-r--r-- | src/ats-tests/perf_ats.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ats-tests/perf_ats.h b/src/ats-tests/perf_ats.h index 58d4b7a81d..cc9a99d69e 100644 --- a/src/ats-tests/perf_ats.h +++ b/src/ats-tests/perf_ats.h @@ -71,6 +71,16 @@ struct BenchmarkPartner struct GNUNET_TRANSPORT_TransmitHandle *tth; /** + * Timestamp to calculate communication layer delay + */ + struct GNUNET_TIME_Absolute last_message_sent; + + /** + * Accumulated delay for all messages + */ + unsigned int total_app_delay; + + /** * Number of messages sent to this partner */ unsigned int messages_sent; @@ -89,6 +99,10 @@ struct BenchmarkPartner * Number of bytes received from this partner */ unsigned int bytes_received; + + + + }; |