summaryrefslogtreecommitdiffstats
path: root/server/display-channel.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-17 03:39:25 +0200
committerFrediano Ziglio <fziglio@redhat.com>2015-11-11 15:42:10 +0000
commit7b1d03508da0f2f9db2b042e3cc9f34cbdd7a56b (patch)
tree208b207800c4612a1ea26fbd96683a2806b373d2 /server/display-channel.h
parent892feff458b23480e7a923a75d7fb1705a214ca5 (diff)
downloadspice-7b1d03508da0f2f9db2b042e3cc9f34cbdd7a56b.tar.gz
spice-7b1d03508da0f2f9db2b042e3cc9f34cbdd7a56b.tar.xz
spice-7b1d03508da0f2f9db2b042e3cc9f34cbdd7a56b.zip
worker: move RED_WORKER_STAT, make it compile again
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'server/display-channel.h')
-rw-r--r--server/display-channel.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/display-channel.h b/server/display-channel.h
index 42574a12..1403b33f 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -315,6 +315,14 @@ struct DisplayChannel {
ImageCache image_cache;
RedCompressBuf *free_compress_bufs;
+/* TODO: some day unify this, make it more runtime.. */
+#ifdef RED_WORKER_STAT
+ stat_info_t add_stat;
+ stat_info_t exclude_stat;
+ stat_info_t __exclude_stat;
+ uint32_t add_count;
+ uint32_t add_with_shadow_count;
+#endif
#ifdef RED_STATISTICS
uint64_t *cache_hits_counter;
uint64_t *add_to_cache_counter;
@@ -440,5 +448,4 @@ static inline int is_primary_surface(DisplayChannel *display, uint32_t surface_i
return FALSE;
}
-
#endif /* DISPLAY_CHANNEL_H_ */