Jesse Gross
c73814a3e6
timeval: Use monotonic time where appropriate.
...
Most of the timekeeping needs of OVS are simply to measure intervals,
which means that it is sensitive to changes in the clock. This commit
replaces the existing clocks with monotonic timers. An additional set
of wall clock timers are added and used in locations that need absolute
time.
Bug #1858
2010-06-08 18:01:25 -07:00
Ben Pfaff
36c501fe78
dynamic-string: Optimize ds_put_char().
...
A qprof profile showed ds_put_char() and ds_put_uninit() as 4% of total
runtime. This commit inlines the common case, which reduces them to 1%
total.
2010-05-05 14:00:50 -07:00
Ben Pfaff
e83fd21330
dynamic-string: New function ds_swap().
2010-01-28 16:06:31 -08:00
Ben Pfaff
5f98eed4eb
dynamic-string: New function ds_cstr_ro().
2009-12-16 11:28:13 -08:00
Ben Pfaff
1fd13cde12
jsonrpc: Add logging for messages sent and received, at DBG level.
...
This made it much easier to see problems while developing some
ovsdb-server features.
2009-11-17 16:02:46 -08:00
Ben Pfaff
f38b84ea2b
Implement JSON parsing and serialization.
...
This will be used by the upcoming Open vSwitch configuration database.
2009-11-04 15:24:40 -08:00
Ben Pfaff
4871855420
New function ds_steal_cstr().
2009-07-16 09:17:06 -07:00
Ben Pfaff
a14bc59fb8
Update primary code license to Apache 2.0.
2009-06-15 15:11:30 -07:00
Ben Pfaff
064af42167
Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
2009-07-08 13:19:16 -07:00