Commit 7c80ab88 authored by bernd's avatar bernd

Tune with number of bursts

parent a75df784
......@@ -7,8 +7,10 @@ typedef unsigned char UINT8;
typedef unsigned short UINT16;
typedef unsigned int UINT32;
typedef unsigned long long int UINT64;
#ifndef STATEI
# define STATEI long
#endif
typedef STATEI keccak_state[25*sizeof(UINT64)/sizeof(STATEI)];
// typedef UINT64 keccak_state[25];
void KeccakInitialize();
void KeccakF(keccak_state state);
......
......@@ -896,7 +896,7 @@ also net2o-base
u> IF net2o:save& 64#0 burst-ticks 64! THEN ;
: receive-flag ( -- flag ) recv-flag @ resend-toggle# and 0<> ;
8 Value max-resend#
2 Value max-resend#
: prepare-resend ( flag -- end start acks ackm taibits )
data-rmap @ >o
......
......@@ -1066,7 +1066,7 @@ User >code-flag
\ create context
8 Value bursts# \ number of
4 Value bursts# \ number of
8 Value delta-damp# \ for clocks with a slight drift
bursts# 2* 2* 1- Value tick-init \ ticks without ack
#1000000 max-size^2 lshift Value bandwidth-init \ 32µs/burst=2MB/s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment