Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

background.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void CreateBackgroundThread ()
 Creates the background thread. More...

void InitializeBackgroundThread (string host, int port, string selfinfo, int refreshTime)
 Initialize the background thread by setting the selfinfo and refreshtime. More...


Variables

int RefreshTime
 How often to refresh (in milliseconds). More...

volatile JVMPI_RawMonitor BackgroundMonitor
 The monitor used for background notification/shutdown. More...

volatile bool ShutdownRequested
 set to true by external thread when the thread should shutdown. More...


Function Documentation

void CreateBackgroundThread ( )
 

Creates the background thread.

Definition at line 163 of file background.cpp.

00164 {
00165     CALL(CreateSystemThread)("DPROF Background Thread", JVMPI_NORMAL_PRIORITY, BackgroundThread);
00166     debug("bg thread created");
00167 }

void InitializeBackgroundThread ( string host,
int port,
string selfinfo,
int refreshTime )
 

Initialize the background thread by setting the selfinfo and refreshtime.

Parameters:
host   the hostname to connect to
port   the port number to use
selfinfo   a descriptive string about this computer/vm/connection
refreshTime   how often to refresh in seconds

Definition at line 76 of file background.cpp.

Referenced by JVM_OnLoad().

00077 {
00078     HostName = host;
00079     PortNumber = port;
00080     SelfInfo = selfinfo;
00081     RefreshTime = refreshTime;
00082 }


Variable Documentation

volatile JVMPI_RawMonitor BackgroundMonitor
 

The monitor used for background notification/shutdown.

Definition at line 43 of file background.h.

int RefreshTime
 

How often to refresh (in milliseconds).

Definition at line 41 of file background.h.

volatile bool ShutdownRequested
 

set to true by external thread when the thread should shutdown.

Definition at line 44 of file background.h.


Generated at Sun Jun 24 20:57:22 2001 for xdprof by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001