[PATCH 0/4] Improvements for statistic code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is my updated patchset for statistic functions.

First two patches are just fixes. Second is quite important
as make compression statistics work again.

Third is a way to reduce preprocessor usage and reduce the
need to compile with different options to get statistics
right.
Fourth is a test for third patch.

Frediano Ziglio (4):
  stat: fix portability problem in stat_time_t declaration
  stat: fix stat_into_t initialization
  stat: use a better design for statistic functions
  stat: add test for statistic functions

 server/dcc.c             | 31 +++++++-----------
 server/display-channel.c | 47 ++++++++++-----------------
 server/display-channel.h |  4 +--
 server/stat.h            | 56 ++++++++++++++++++++------------
 server/tests/.gitignore  |  5 +++
 server/tests/Makefile.am | 35 ++++++++++++++++++++
 server/tests/stat-main.c | 49 ++++++++++++++++++++++++++++
 server/tests/stat-test.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 237 insertions(+), 73 deletions(-)
 create mode 100644 server/tests/stat-main.c
 create mode 100644 server/tests/stat-test.c

-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]