Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
b5ab72d6
Commit
b5ab72d6
authored
May 16, 2006
by
steven_carr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Statistics now fit into 80-column output
parent
7039f24f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
ChangeLog
ChangeLog
+4
-0
stats.c
libvncserver/stats.c
+4
-4
No files found.
ChangeLog
View file @
b5ab72d6
2006-05-16 Steven Carr <scarr@jsa-usa.com>
* Statistics output now fits in 80-column output
* Corrected Cursor Statistics reporting as messages
2006-05-15 Steven Carr <scarr@jsa-usa.com>
* Default to RFB 3.8
* Add command line options:
...
...
libvncserver/stats.c
View file @
b5ab72d6
...
...
@@ -398,7 +398,7 @@ void rfbPrintStats(rfbClientPtr cl)
if
(
bytesIfRaw
>
0
.
0
)
savings
=
100
.
0
-
(((
double
)
bytes
/
(
double
)
bytesIfRaw
)
*
100
.
0
);
if
((
bytes
>
0
)
||
(
count
>
0
)
||
(
bytesIfRaw
>
0
))
rfbLog
(
" %-20.20s: %6d | %9
.0d/%9.0
d (%5.1f%%)
\n
"
,
rfbLog
(
" %-20.20s: %6d | %9
d/%9
d (%5.1f%%)
\n
"
,
name
,
count
,
bytes
,
bytesIfRaw
,
savings
);
totalRects
+=
count
;
totalBytes
+=
bytes
;
...
...
@@ -416,7 +416,7 @@ void rfbPrintStats(rfbClientPtr cl)
if
(
bytesIfRaw
>
0
.
0
)
savings
=
100
.
0
-
(((
double
)
bytes
/
(
double
)
bytesIfRaw
)
*
100
.
0
);
if
((
bytes
>
0
)
||
(
count
>
0
)
||
(
bytesIfRaw
>
0
))
rfbLog
(
" %-20.20s: %6d | %9
.0d/%9.0
d (%5.1f%%)
\n
"
,
rfbLog
(
" %-20.20s: %6d | %9
d/%9
d (%5.1f%%)
\n
"
,
name
,
count
,
bytes
,
bytesIfRaw
,
savings
);
totalRects
+=
count
;
totalBytes
+=
bytes
;
...
...
@@ -444,7 +444,7 @@ void rfbPrintStats(rfbClientPtr cl)
if
(
bytesIfRaw
>
0
.
0
)
savings
=
100
.
0
-
(((
double
)
bytes
/
(
double
)
bytesIfRaw
)
*
100
.
0
);
if
((
bytes
>
0
)
||
(
count
>
0
)
||
(
bytesIfRaw
>
0
))
rfbLog
(
" %-20.20s: %6d | %9
.0d/%9.0
d (%5.1f%%)
\n
"
,
rfbLog
(
" %-20.20s: %6d | %9
d/%9
d (%5.1f%%)
\n
"
,
name
,
count
,
bytes
,
bytesIfRaw
,
savings
);
totalRects
+=
count
;
totalBytes
+=
bytes
;
...
...
@@ -461,7 +461,7 @@ void rfbPrintStats(rfbClientPtr cl)
if
(
bytesIfRaw
>
0
.
0
)
savings
=
100
.
0
-
(((
double
)
bytes
/
(
double
)
bytesIfRaw
)
*
100
.
0
);
if
((
bytes
>
0
)
||
(
count
>
0
)
||
(
bytesIfRaw
>
0
))
rfbLog
(
" %-20.20s: %6d | %9
.0d/%9.0
d (%5.1f%%)
\n
"
,
rfbLog
(
" %-20.20s: %6d | %9
d/%9
d (%5.1f%%)
\n
"
,
name
,
count
,
bytes
,
bytesIfRaw
,
savings
);
totalRects
+=
count
;
totalBytes
+=
bytes
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment