FreeRDP/libfreerdp/utils
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
..
bitmap.c Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
CMakeLists.txt libfreerdp-utils: purge old file utils 2013-03-22 15:52:43 -04:00
event.c freerdp: merge RDP_EVENT type with wMessage 2013-03-28 21:13:56 -04:00
list.c libfreerdp: purged source tree from deprecated memory utils 2012-11-21 21:22:06 -05:00
msusb.c Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
passphrase.c added missing defined() in #elif 2013-01-25 17:50:40 +01:00
pcap.c libfreerdp-utils/pcap: open pcap in binary mode 2013-06-25 17:11:36 +02:00
profiler.c libfreerdp-utils: fix profiler on Windows. 2013-06-14 13:21:29 +08:00
rail.c freerdp: purge deprecated stream utils 2013-05-08 16:09:16 -04:00
signal.c channels/rdpsnd: further experimentation with async alsa 2013-02-21 10:46:11 -05:00
stopwatch.c utils: fix broken stopwatch implementation 2013-06-27 13:00:54 +02:00
svc_plugin.c libfreerdp-client: load rdpdr when rdpsnd is loaded 2013-05-10 16:39:16 -04:00
tcp.c Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
time.c Further changes to fix issue 574\685. 2013-04-08 14:42:49 +01:00
uds.c freerdp: fix headers 2012-10-08 23:02:04 -04:00