20 #ifndef FREERDP_METRICS_H
21 #define FREERDP_METRICS_H
23 #include <freerdp/api.h>
34 UINT64 TotalCompressedBytes;
35 UINT64 TotalUncompressedBytes;
36 double TotalCompressionRatio;
40 FREERDP_API
double metrics_write_bytes(rdpMetrics* metrics, UINT32 UncompressedBytes,
41 UINT32 CompressedBytes);
43 FREERDP_API
void metrics_free(rdpMetrics* metrics);
45 WINPR_ATTR_MALLOC(metrics_free, 1)
46 FREERDP_API rdpMetrics* metrics_new(rdpContext* context);