Commit graph

10 commits

Author SHA1 Message Date
bharnden
c3d0b01b7f Merge branch 'rel/5.1' 2018-05-22 20:44:26 -07:00
Blake J. Harnden
01fe8d708c updates to simplify tracking the copyright and an update to 2018, still room for improvement 2018-03-15 10:36:54 -07:00
Blake J. Harnden
bc1e3e70c9 initial pass at removing bsd and code related to using bsd nodes 2018-03-07 12:54:19 -08:00
Gabriel Somlo
e8ad324d3a gui: exec.tcl: cache local IP address across calls to getMyIP
Modify getMyIP to cache the local machine's IP address, and
return it without further accessing of the underlying resolver
libraries during subsequent invocations.

getMyIP is called roughly once a second from within monitor_loop
when refreshing CPU utilization in the bottom-right corner of
the GUI window. Other, dedicated CPU usage windows might also
call getMyIP at regular intervals.

With systemd commit cda458a54 (between v232 and v233), the
implementation of gethostbyname4_r() was updated to a more
intransigently standard-compliant error reporting convention,
which in turn causes glibc to retry in a more labor intensive
way (see https://github.com/systemd/systemd/pull/5359).

Under certain circumstances depending on the local hostname
and IP configuration, the glibc/systemd back-end resolver
routines triggered by getMyIP's call to [socket ...] and
[fconfigure ...] end up taking long enough to noticeably slow
down refreshing the main core-gui window, to the point where
interaction with the GUI becomes difficult.

Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2018-02-12 18:16:07 -05:00
tgoff0
42227bce83 gui: Trivial code cleanup. 2015-01-21 21:38:32 +00:00
tgoff0
0221673d1e gui: Use interface names from /sys/class/net when it exists. 2015-01-21 21:37:56 +00:00
tgoff0
6084b4f416 Adjust file mode bits. 2014-12-15 18:23:25 +00:00
ahrenholz
a69396d1d5 fixes for errors with distributed sessions not using the Python Broker
(Boeing r1821)
2014-01-21 22:17:31 +00:00
ahrenholz
c1c71bb33a enter runtime state when start button pressed with empty canvas
(Boeing r1805)
2013-12-05 23:42:14 +00:00
ahrenholz
f8f46d28be initial import (Boeing r1752, NRL r878) 2013-08-29 14:21:13 +00:00