aboutsummaryrefslogtreecommitdiffstats
path: root/x0vncserver/x0vncserver.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Porting changes for LynxOS 2.3.Constantin Kaplinsky2006-03-021-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@499 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major improvements in algoritms of CPU load balancing. This shouldConstantin Kaplinsky2006-02-171-1/+1
| | | | | | | make polling cycles more regular and changes in CPU load more smooth. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@497 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major improvement of the CPU load optimization implementation. TheConstantin Kaplinsky2006-02-171-49/+4
| | | | | | | | | | | | CPUMonitor class is not used any more, that work is implemented in the PollingScheduler class instead. New implementation solves the problem of "random" sudden changes of CPU load that could be seen in previous versions. Also, measurement method for CPU utilization has been changed, the old one did not count CPU utilization increased by other processes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@496 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved the interface of the PollingScheduler class, added someConstantin Kaplinsky2006-02-161-1/+1
| | | | | | | documentation in comments. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@494 3789f03b-4d11-0410-bbf8-ca57d06f2519
* New PollingScheduler class for calculating timeouts for select() andConstantin Kaplinsky2006-02-161-21/+10
| | | | | | | | | | moments when next polling pass should be started. Current implementation does not change scheduling algorithm used in previous versions, so this change is just a code refactoring to prepare for ongoing improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@493 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected algorithm of adjusting polling intervals, to make suddenConstantin Kaplinsky2006-02-161-10/+28
| | | | | | | changes more graceful. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@491 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More precise computing of time to spend in select(). This fixes theConstantin Kaplinsky2006-02-161-9/+24
| | | | | | | problem with CPU underload with very small values of PollingCycle. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@490 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using new TimeMillis class instead of calls to gettimeofday() andConstantin Kaplinsky2006-02-161-26/+31
| | | | | | | arithmetics with microseconds, to make the code clearer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@489 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improvements in the debugging code for measuring performance.Constantin Kaplinsky2006-02-151-4/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@488 3789f03b-4d11-0410-bbf8-ca57d06f2519
* For the PollingCycle parameter, the default value has been changedConstantin Kaplinsky2006-02-101-1/+1
| | | | | | | | | from 50 to 30 milliseconds. This should improve responsiveness for servers with fast CPUs. Also, that should not hurt slow servers, as actual interval would depend on the MaxProcessorUsage parameter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@482 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Polling screen area around current pointer position with higherConstantin Kaplinsky2006-02-081-0/+1
| | | | | | | | priority. Also, there is a number of code improvements, and some new "FIXME" comments for potential future improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@477 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The polling code has been moved into a separate class.Constantin Kaplinsky2005-09-291-90/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@339 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CPU load monitoring has been implemented in x0vncserver. CPU loadConstantin Kaplinsky2005-09-141-4/+30
| | | | | | | | setting defaults to 35% but can be adjusted with new -MaxProcessorUsage parameter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@319 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with crashing on select() returning EINTR error.Constantin Kaplinsky2005-09-091-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@311 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated x0vncserver to the latest version from the "tightvnc-unix"Constantin Kaplinsky2005-09-081-20/+257
| | | | | | | | | | | | | | module. It includes support for overlay extensions under IRIX and Solaris, MIT-SHM support, much improved polling algorithm and support for IP filtering on accepting connections. However, current version does not seem stable when linked with this codebase -- it is not compatible with 1.3dev5 viewers for some reasons, and crashes on "select: interrupted system call" from time to time. Also, the "configure" script is not yet updated to enable certain features of this version. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@309 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial revisionConstantin Kaplinsky2004-10-081-0/+277
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2 3789f03b-4d11-0410-bbf8-ca57d06f2519