Nils O. Selåsdal
|
2d680052b2
|
Fix UC_DEBUGF
|
2013-10-16 01:46:50 +02:00 |
|
Nils O. Selåsdal
|
ee3dd22b0e
|
Convert logging to use UC_SRC_LOCATION
|
2013-10-16 01:44:36 +02:00 |
|
Nils O. Selåsdal
|
13567e3cd9
|
Add macro for stringifying __FILE__:__LINE__
|
2013-10-16 01:37:20 +02:00 |
|
Nils O. Selåsdal
|
934088ca4a
|
Remove ticket_cost member as it is no longer needed
|
2013-10-15 22:31:57 +02:00 |
|
Nils O. Selåsdal
|
0a36c669c6
|
More ratelimit optimizations
|
2013-10-15 21:35:10 +02:00 |
|
Nils O. Selåsdal
|
c1ef4af4ad
|
Changed test program
|
2013-10-15 20:14:35 +02:00 |
|
Nils O. Selåsdal
|
9c15b73774
|
Small optimization change when tickets < period
|
2013-10-15 20:14:15 +02:00 |
|
Nils O. Selåsdal
|
28514c0a57
|
More limits clarification
|
2013-10-15 15:44:12 +02:00 |
|
Nils O. Selåsdal
|
c84d903b4f
|
Assert that rate limit values are ok
|
2013-10-15 15:27:25 +02:00 |
|
Nils O. Selåsdal
|
f4e7ad0fe6
|
Note the limits on tickets and period
|
2013-10-15 15:23:32 +02:00 |
|
Nils O. Selåsdal
|
763032fb04
|
Greatly improve the rate limit algorithm, so it is correct for a low
ticket to period ratio.
|
2013-10-15 15:03:27 +02:00 |
|
Nils O. Selåsdal
|
41bb24bb61
|
Delete the silly bitvec _s functions
|
2013-10-14 19:01:56 +02:00 |
|
Nils O. Selåsdal
|
6058be1c07
|
Fix UC_STATIC_ASSERT
|
2013-10-14 18:03:17 +02:00 |
|
Nils O. Selåsdal
|
48678a9858
|
Use consisten header guard, prefixed with UC_
|
2013-10-13 17:37:28 +02:00 |
|
Nils O. Selåsdal
|
52eb710db7
|
Add rate limit test
|
2013-10-12 01:29:00 +02:00 |
|
Nils O. Selåsdal
|
3d93ec6091
|
Bump scaling to 1000.
Note the error in integer arithmetic
|
2013-10-12 01:28:20 +02:00 |
|
Nils O. Selåsdal
|
8a76210661
|
Comment rate_limit.h
|
2013-10-11 23:54:37 +02:00 |
|
Nils O. Selåsdal
|
9ca4a354ee
|
Fix calculating available tickets.
Help prevent overflow when there's long periods between calls
|
2013-10-10 01:06:49 +02:00 |
|
Nils O. Selåsdal
|
212fecae08
|
Move rate limit example to test/
|
2013-10-09 22:59:47 +02:00 |
|
Nils O. Selåsdal
|
06083a054e
|
Add rate limit API
|
2013-10-09 22:55:29 +02:00 |
|
Nils O. Selåsdal
|
08a50d8cfe
|
fix UC_ASSERT writing to wrong fd, and unterminated if
log more in UC_NOTREACHED
|
2013-10-08 17:39:44 +02:00 |
|
Nils O. Selåsdal
|
425062ad18
|
Add needed include files
|
2013-10-08 17:34:58 +02:00 |
|
Nils O. Selåsdal
|
1da7470e87
|
use UC_CONTAINER_OF
|
2013-10-05 20:37:13 +02:00 |
|
Nils O. Selåsdal
|
bb5e21d29b
|
add static strvec initializer macradd static strvec initializer macroo
|
2013-10-05 20:36:11 +02:00 |
|
Nils O. Selåsdal
|
1f4e41df3a
|
Test inserting priority messages
|
2013-10-05 00:56:41 +02:00 |
|
Nils O. Selåsdal
|
3da0591cc3
|
introduce --with-assertions to build a release with assertions enabled
|
2013-10-05 00:55:51 +02:00 |
|
Nils O. Selåsdal
|
f2f2ed247f
|
Add assert for correct state when removing timer
|
2013-10-05 00:55:21 +02:00 |
|
Nils O. Selåsdal
|
f4b1d81dcf
|
test uc_thread_queue_clear
|
2013-10-03 23:42:12 +02:00 |
|
Nils O. Selåsdal
|
d9517ad868
|
Make the thread queue walk function take a cookie to the callback
and implement a _clear() function to clear out the queue
|
2013-10-03 22:04:33 +02:00 |
|
Nils O. Selåsdal
|
4310414b49
|
More comments in string.h
|
2013-10-02 22:17:15 +02:00 |
|
Nils O. Selåsdal
|
6456d8abe0
|
Include BCD length macros in test
|
2013-10-02 22:15:55 +02:00 |
|
Nils O. Selåsdal
|
41c58589a5
|
Fix harmless off by one when walking file descriptors
|
2013-10-02 21:35:19 +02:00 |
|
Nils O. Selåsdal
|
27aa7ef3d6
|
Some comment improving
|
2013-10-02 21:33:10 +02:00 |
|
Nils O. Selåsdal
|
e12f2d3cfb
|
Merge branch 'dev'
|
2013-10-01 22:37:18 +02:00 |
|
Nils O. Selåsdal
|
d619d58ccd
|
Fix overflow in strv_null_terminate, and don't make it increase .cnt
|
2013-10-01 22:30:39 +02:00 |
|
Nils O. Selåsdal
|
dd517a5d85
|
Prefix CONTAINER_OF with UC_
|
2013-09-28 23:45:51 +02:00 |
|
Nils O. Selåsdal
|
ff0fd32ae1
|
Fix comment
|
2013-09-26 22:22:19 +02:00 |
|
Nils O. Selåsdal
|
5be46cd043
|
Add RTP sender test
|
2013-09-26 22:22:05 +02:00 |
|
Nils O. Selåsdal
|
4b8a49fb81
|
Exercise adding/removing timers a bit more
|
2013-09-18 10:32:07 +02:00 |
|
Nils O. Selåsdal
|
9988d8f4c0
|
Add uc_str_append_all function
|
2013-09-15 00:01:19 +02:00 |
|
Nils O. Selåsdal
|
03d700595b
|
Improve docus
|
2013-09-15 00:01:08 +02:00 |
|
Nils O. Selåsdal
|
499517c2dd
|
Move long runnign test to the end of the tests
|
2013-09-15 00:00:39 +02:00 |
|
Nils O. Selåsdal
|
9e919c1cde
|
Add mbuf documentation. have mbuf_free handle NULL pointer
|
2013-09-13 21:42:32 +02:00 |
|
Nils O. Selåsdal
|
a7e9effde5
|
Merge branch 'master' of /var/lib/git/libucore
|
2013-09-13 20:42:23 +02:00 |
|
Nils O. Selåsdal
|
88a20409cf
|
Test removing a destination
|
2013-09-04 18:33:40 +02:00 |
|
Nils O. Selåsdal
|
1deb2bcce1
|
Test adding a destination twice
|
2013-09-04 18:15:08 +02:00 |
|
Nils O. Selåsdal
|
216dfe879d
|
Added string vector(argv like) functions
|
2013-09-04 18:10:26 +02:00 |
|
Nils O. Selåsdal
|
a5b8d53177
|
Fix goto label
|
2013-08-30 19:34:33 +02:00 |
|
Nils O. Selåsdal
|
1a85dd3231
|
Remove comments that was moved to .h file, rename goto label..
|
2013-08-28 23:30:37 +02:00 |
|
Nils O. Selåsdal
|
110c843d9d
|
Add supervisor
|
2013-08-28 23:25:02 +02:00 |
|