FreeRDP/libfreerdp/codec
Norbert Federa b2108839b0 utils: fix broken stopwatch implementation
Stopwatch (in the way it is used) must be able to measure the wall
clock time with high resolution but used clock() which is not
appropriate for this purpose:
On POSIX systems clock() returns the processor time used by the
program. On Windows clock() does measure the wall clock time but
has only a resolution of 1ms (if at all).
This also renders the freerdp profiler unusable.

This commit changes stopwatch to use the performance counters
on Windows and gettimeofday() for the rest.

Also added a warning about invalid profiling results to the
RemoteFX codec if rfxcontext->priv->UseThreads is enabled because
stopwatch is currently not used in a thread safe way.

Also see GitHub Issue #1325
2013-06-27 13:00:54 +02:00
..
include freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
audio.c Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
bitmap.c libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
CMakeLists.txt libfreerdp-codec: move audio format processing code to codec library 2013-03-07 14:43:21 -05:00
color.c libfreerdp-codec: optimize color conversion a bit 2013-05-16 19:56:39 -04:00
dsp.c channels/rdpsnd: reduce ALSA buffer underruns 2013-02-26 17:54:16 -05:00
jpeg.c libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
mppc_dec.c Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
mppc_enc.c macosx: update client 2012-11-22 15:32:21 -05:00
nsc_encode.c freerdp: purge deprecated stream utils 2013-05-08 16:09:16 -04:00
nsc_encode.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
nsc_sse2.c freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
nsc_sse2.h codec: got rid of nsc_context_set_cpu_opt 2013-03-05 10:52:18 +01:00
nsc_types.h freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
nsc.c freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
rfx_bitstream.h Merge pull request #763 from FreeRDP/channels 2012-10-09 10:44:44 -07:00
rfx_constants.h freerdp: fix headers 2012-10-08 23:02:04 -04:00
rfx_decode.c codec: yCbCrToRGB did not get profiled anymore 2013-06-18 14:33:07 +02:00
rfx_decode.h libwinpr-utils: combine old and new stream utils 2013-03-21 15:19:33 -04:00
rfx_differential.c freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_differential.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_dwt.c freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_dwt.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_encode.c xfreerdp-server: fix RemoteFX encoding 2013-05-01 18:15:55 -04:00
rfx_encode.h libwinpr-utils: combine old and new stream utils 2013-03-21 15:19:33 -04:00
rfx_neon.c codec/rfx,primitives: removed cpu-detect.[ch] from build 2013-03-01 09:02:14 +01:00
rfx_neon.h codec: Fixed NEON detection and incorrect RFX decoding 2013-02-21 07:08:46 -08:00
rfx_quantization.c freerdp primitives library 2013-01-18 15:32:58 -07:00
rfx_quantization.h freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
rfx_rlgr.c libfreerdp: purged source tree from deprecated memory utils 2012-11-21 21:22:06 -05:00
rfx_rlgr.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_sse2.c Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-18 11:20:41 -04:00
rfx_sse2.h codec: Fixed NEON detection and incorrect RFX decoding 2013-02-21 07:08:46 -08:00
rfx_types.h libfreerdp-codec: added registry keys for multithreaded RemoteFX decoder 2013-01-22 21:54:13 -05:00
rfx.c utils: fix broken stopwatch implementation 2013-06-27 13:00:54 +02:00