From: sangorrin Date: Tue, 2 Dec 2008 13:26:35 +0000 (+0000) Subject: nothing X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fna.git/commitdiff_plain/359905172f6a7784bfdaa234e102cd7d6a3d6976 nothing git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1444 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/src_rtep/rtep_fna_c.c b/src_rtep/rtep_fna_c.c index 8ac5ebe..7c70302 100644 --- a/src_rtep/rtep_fna_c.c +++ b/src_rtep/rtep_fna_c.c @@ -965,10 +965,10 @@ int rtep_fna_network_bytes_to_budget return -1; } - // we measure the budget in number of RTEP packets of maximum size + // we measure the budget in number of RTEP packets of maximum size number_of_packets = nbytes / MAX_RTEP_MTU + 1; - // we store the budget in number of packets instead of in time. We - // use a field in the timespec structure. + // we store the budget in number of packets instead of in time. We + // use a field in the timespec structure. budget->tv_sec = number_of_packets; DEBUG("bytes: %d -> budget: %d\n", nbytes, budget->tv_sec); return 0;