From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- .../Xserver/hw/dmx/doc/html/dmxstat_8h.html | 364 +++++++++++++++++++++ 1 file changed, 364 insertions(+) create mode 100644 nx-X11/programs/Xserver/hw/dmx/doc/html/dmxstat_8h.html (limited to 'nx-X11/programs/Xserver/hw/dmx/doc/html/dmxstat_8h.html') diff --git a/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxstat_8h.html b/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxstat_8h.html new file mode 100644 index 000000000..d4fcb0d9c --- /dev/null +++ b/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxstat_8h.html @@ -0,0 +1,364 @@ + + + + + File Index + + + + +
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+

dmxstat.h File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define DMX_STAT_LENGTH   10
#define DMX_STAT_INTERVAL   1000
#define DMX_STAT_BINS   3
#define DMX_STAT_BIN0   10000
#define DMX_STAT_BINMULT   100

Functions

void dmxStatActivate (const char *interval, const char *displays)
DMXStatInfodmxStatAlloc (void)
void dmxStatFree (DMXStatInfo *)
void dmxStatInit (void)
void dmxStatSync (DMXScreenInfo *dmxScreen, struct timeval *stop, struct timeval *start, unsigned long pending)

Variables

int dmxStatInterval
+


Detailed Description

+Interface for statistic gathering interface.
See also:
dmxstat.c
+

Define Documentation

+

+ + + + +
+ + +
#define DMX_STAT_BIN0   10000 +
+
+ + + + + +
+   + + +

+us for bin[0]

+

+ + + + +
+ + +
#define DMX_STAT_BINMULT   100 +
+
+ + + + + +
+   + + +

+multiplier for next bin[]

+

+ + + + +
+ + +
#define DMX_STAT_BINS   3 +
+
+ + + + + +
+   + + +

+number of bins

+

+ + + + +
+ + +
#define DMX_STAT_INTERVAL   1000 +
+
+ + + + + +
+   + + +

+msec between printouts

+

+ + + + +
+ + +
#define DMX_STAT_LENGTH   10 +
+
+ + + + + +
+   + + +

+number of events for moving average

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxStatActivate const char *  interval,
const char *  displays
+
+ + + + + +
+   + + +

+Turn on XSync statistic gathering and printing. Print every interval seconds, with lines for the first displays. If interval is NULL, 1 will be used. If displays is NULL, 0 will be used (meaning a line for every display will be printed). Note that this function takes string arguments because it will usually be called from ddxProcessArgument in #dmxinit.c.

+

+ + + + +
+ + + + + + + + + + +
DMXStatInfo* dmxStatAlloc void   ) 
+
+ + + + + +
+   + + +

+Allocate a DMXStatInfo structure.

+

+ + + + +
+ + + + + + + + + + +
void dmxStatFree DMXStatInfo pt  ) 
+
+ + + + + +
+   + + +

+Free the memory used by a DMXStatInfo structure.

+

+ + + + +
+ + + + + + + + + + +
void dmxStatInit void   ) 
+
+ + + + + +
+   + + +

+Try to initialize the statistic gathering and printing routines. Initialization only takes place if dmxStatActivate has already been called. We don't need the same generation protection that we used in dmxSyncInit because our timer is always on a queue -- hence, server generation will always free it.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxStatSync DMXScreenInfo dmxScreen,
struct timeval *  stop,
struct timeval *  start,
unsigned long  pending
+
+ + + + + +
+   + + +

+Note that a XSync() was just done on dmxScreen with the start and stop times (from gettimeofday()) and the number of pending-but-not-yet-processed XSync requests. This routine is called from #dmxDoSync in #dmxsync.c

+


Variable Documentation

+

+ + + + +
+ + +
int dmxStatInterval +
+
+ + + + + +
+   + + +

+Only for dmxstat.c and dmxsync.c

+


+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + -- cgit v1.2.3