Johan Wikman b11b848e66 Move all statistics gathering to poll_waitevents().
The handler callback should now return a bitmask with bits set
according to what it did when it was called. That way the actual
statistics gathering can be done in poll_waitevents() and the
handler need not be aware of any thread structs.

Actually, the only thing that needs any assistance is accept handling,
because in poll_waitevents() we do not know whether a READ event
relates to a listening or a normal socket, that is, should the
event be counted as an accept or as a read.
2017-04-20 13:51:16 +03:00
..
2017-04-05 11:35:13 +03:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-30 12:36:23 +03:00
2017-03-31 14:12:02 +03:00
2017-02-14 21:42:28 +02:00
2017-03-27 09:49:21 +02:00
2017-02-20 17:44:22 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-03-24 09:21:20 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-13 10:45:55 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-26 13:57:25 +03:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-03-03 15:30:25 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-21 15:19:10 +02:00
2017-02-14 21:42:28 +02:00
2017-03-13 10:45:51 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-09 10:01:38 +02:00