pstats.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <sys/types.h>
#include <unistd.h>
#include "pstats.h"


void pstats_init (void)
static void tms_report (void)
static void ps_report (void)
void pstats_report ()


static struct tms tms_beg
static struct tms tms_end
static int has_times = 0

Function Documentation

void pstats_init ( void   ) 

References has_times, and tms_beg.

Referenced by main().

static void tms_report ( void   )  [static]

References cputime(), has_times, tms_beg, and tms_end.

Referenced by pstats_report().

static void ps_report ( void   )  [static]

Referenced by pstats_report().

void pstats_report ( void   ) 

References ps_report(), and tms_report().

Referenced by main().

Variable Documentation

struct tms tms_beg [static]

Referenced by pstats_init(), and tms_report().

struct tms tms_end [static]

Referenced by tms_report().

int has_times = 0 [static]

Referenced by pstats_init(), and tms_report().

Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8