[Spice-devel] [PATCH v3 0/3] Improvements for statistic code
Frediano Ziglio
fziglio at redhat.com
Wed Dec 9 07:58:57 PST 2015
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
More information about the Spice-devel
mailing list