Added `wanted'. Applications can set the features they are interested in
1999-03-23 Martin Baulig <martin@home-of-linux.org> * glibtop.h (glibtop): Added `wanted'. Applications can set the features they are interested in here. This way we don't waste CPU getting expensive data that aren't really needed. * LIBGTOP-VERSION: This breaks backward compatibility and also added new functions; set binary age and interface age to 0.
This commit is contained in:
committed by
Martin Baulig
parent
ec9aedea0b
commit
3d248e9ad2
@@ -1,3 +1,12 @@
|
||||
1999-03-23 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* glibtop.h (glibtop): Added `wanted'. Applications can set the
|
||||
features they are interested in here. This way we don't waste CPU
|
||||
getting expensive data that aren't really needed.
|
||||
|
||||
* LIBGTOP-VERSION: This breaks backward compatibility and also
|
||||
added new functions; set binary age and interface age to 0.
|
||||
|
||||
1999-03-21 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
Added a new sysctl () interface to the Linux Kernel.
|
||||
|
@@ -10,8 +10,8 @@ LIBGTOP_MAJOR_VERSION=1
|
||||
LIBGTOP_MINOR_VERSION=0
|
||||
LIBGTOP_MICRO_VERSION=2
|
||||
|
||||
LIBGTOP_INTERFACE_AGE=1
|
||||
LIBGTOP_BINARY_AGE=1
|
||||
LIBGTOP_INTERFACE_AGE=0
|
||||
LIBGTOP_BINARY_AGE=0
|
||||
|
||||
# Increase each time you change the client/server protocol.
|
||||
LIBGTOP_SERVER_VERSION=5
|
||||
|
@@ -63,6 +63,7 @@ struct _glibtop
|
||||
unsigned long server_port; /* Port on which daemon is listening */
|
||||
glibtop_sysdeps sysdeps; /* Detailed feature list */
|
||||
glibtop_sysdeps required; /* Required feature list */
|
||||
glibtop_sysdeps wanted; /* We only want this features */
|
||||
pid_t pid; /* PID of the server */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user