From 9d0002e5cb97d939f2f74ab1e635b616d634e7db Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 20 Feb 2019 14:32:42 +0100 Subject: [HICN-73] Performance improvements of interest/data transmission and reception at low level in the stack (portal.h) Change-Id: I1525726f52040f1609e284bb9b995ea8794c5d5e Signed-off-by: Mauro Sardara --- utils/src/hiperf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/src/hiperf.cc') diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc index fbd9d1e26..1b6fc67af 100644 --- a/utils/src/hiperf.cc +++ b/utils/src/hiperf.cc @@ -307,7 +307,7 @@ class HIperfClient { io_service_.stop(); }); - t_download_ = std::chrono::steady_clock::now(); + t_download_ = t_stats_ = std::chrono::steady_clock::now(); consumer_socket_->asyncConsume(configuration_.name, configuration_.receive_buffer); io_service_.run(); @@ -336,7 +336,7 @@ class HIperfServer { content_objects_((std::uint16_t)(1 << log2_content_object_buffer_size)), content_objects_index_(0), mask_((std::uint16_t)(1 << log2_content_object_buffer_size) - 1) { - std::string buffer(1200, 'X'); + std::string buffer(1440, 'X'); std::cout << "Producing contents under name " << conf.name.getName() << std::endl; -- cgit 1.2.3-korg