perf test

This commit is contained in:
ffdfgdfg
2019-11-02 22:59:52 +08:00
parent 5f35415849
commit 5f58c34c8b
7 changed files with 207 additions and 158 deletions

View File

@@ -156,7 +156,7 @@ type ReceiveWindow struct {
bufQueue ReceiveWindowQueue
element *ListElement
readLength uint32
readOp chan struct{}
//readOp chan struct{}
readWait bool
windowFull uint32
count int8
@@ -167,7 +167,7 @@ type ReceiveWindow struct {
func (Self *ReceiveWindow) New(mux *Mux) {
// initial a window for receive
Self.readOp = make(chan struct{})
//Self.readOp = make(chan struct{})
Self.bufQueue.New()
//Self.bw = new(bandwidth)
Self.element = new(ListElement)