
/*
 *	proto.h
 *
 *	(C) Copyright 1991 by Robert Krten, all rights reserved.
 *
 *	This module contains the ANSI prototypes.
 *
 *	1991 09 20	R. Krten		created
 *	1992 04 18	R. Krten		added doSTATUS
 *	1994 02 24	R. Krten		added doSERIAL
*/

#ifdef __cplusplus
extern "C" {
#endif

extern	void		doTOPCPU (int);
extern  void            initializeCpuData(void);
extern  void	        cpuBackbone (int);
extern  void	        removeDeadCpuEntries (int);
extern  void            calcDeltaTOPCPU(void);
extern  void            cpuPrioTotals(struct prioTotalsT *);
extern  int             getProcessCpu(char *processName);
extern  void            memPrioTotals(struct prioTotalsT *);
extern  int             getProcessMem(char *processName);

extern	void		doTOPMEM (int);
extern  void            initializeMemData(void);
extern  void            memBackbone (int);
extern	void	        removeDeadMemEntries (int);
extern  void            calcDeltaTOPMEM(void);

extern	void		fatal (char *);
extern	void		fixName (char *, char *);
extern	void		getName (char *, pid_t);

#if 0
  /* not used in auv-qnx installation */
extern	void		doFAULTS (void);
extern	void		doINTERRUPTS (void);
extern	void		doKCALLS (void);
extern	void		doPHYSMEM (void);
extern	void		doREGISTER (void);
extern	void		doSTATES (void);
extern	void		doTOPMEM (char);
extern	void		doSTATUS (void);
extern	void		doSERIAL (void);
/* extern	void		main (int, char **); */
extern	int			getcounts (struct _proc_counter_reply1 *);
extern	int			convertToLog (unsigned);

#endif


#ifdef __cplusplus
}
#endif
