[PATCH v3 0/3] 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 patch is just a fix.

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

Changes:
- updated on new master;
- change test names as requested.

Frediano Ziglio (3):
  stat: fix portability problem in stat_time_t declaration
  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            | 71 +++++++++++++++++++++++++++--------------
 server/tests/.gitignore  |  5 +++
 server/tests/Makefile.am | 35 ++++++++++++++++++++
 server/tests/stat-main.c | 49 ++++++++++++++++++++++++++++
 server/tests/stat-test.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 248 insertions(+), 77 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]